From 9aa37ee9d95a154f8ac89f66d75dce59f81b2a75 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Sat, 20 Jan 2024 18:55:27 +0100 Subject: [PATCH] CMake: Omit a call to setTimeOutMessageBoxEnabled(false) The false is a default value. Change-Id: I94eb7c58ed591171de677f1dfc0d80a0c751d36d Reviewed-by: Orgad Shaneh Reviewed-by: --- src/plugins/cmakeprojectmanager/cmakeprojectimporter.cpp | 2 -- src/plugins/cmakeprojectmanager/cmaketool.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectimporter.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectimporter.cpp index 53550adabe3..8631a9eea1a 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectimporter.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprojectimporter.cpp @@ -225,7 +225,6 @@ static CMakeConfig configurationFromPresetProbe( env.setupEnglishOutput(); cmake.setEnvironment(env); - cmake.setTimeOutMessageBoxEnabled(false); QStringList args; args.emplace_back("-S"); @@ -402,7 +401,6 @@ static QMakeAndCMakePrefixPath qtInfoFromCMakeCache(const CMakeConfig &config, Environment cmakeEnv(env); cmakeEnv.setupEnglishOutput(); cmake.setEnvironment(cmakeEnv); - cmake.setTimeOutMessageBoxEnabled(false); QString cmakeGenerator = config.stringValueOf(QByteArray("CMAKE_GENERATOR")); QString cmakeGeneratorPlatform = config.stringValueOf(QByteArray("CMAKE_GENERATOR_PLATFORM")); diff --git a/src/plugins/cmakeprojectmanager/cmaketool.cpp b/src/plugins/cmakeprojectmanager/cmaketool.cpp index fdaf5e6bfc6..9a0d647b278 100644 --- a/src/plugins/cmakeprojectmanager/cmaketool.cpp +++ b/src/plugins/cmakeprojectmanager/cmaketool.cpp @@ -174,7 +174,6 @@ void CMakeTool::runCMake(Process &cmake, const QStringList &args, int timeoutS) Environment env = executable.deviceEnvironment(); env.setupEnglishOutput(); cmake.setEnvironment(env); - cmake.setTimeOutMessageBoxEnabled(false); cmake.setCommand({executable, args}); cmake.runBlocking(); }