CMake: Omit a call to setTimeOutMessageBoxEnabled(false)

The false is a default value.

Change-Id: I94eb7c58ed591171de677f1dfc0d80a0c751d36d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2024-01-20 18:55:27 +01:00
parent 95aa370b69
commit 9aa37ee9d9
2 changed files with 0 additions and 3 deletions

View File

@@ -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"));

View File

@@ -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();
}