forked from qt-creator/qt-creator
Utils: Display error message boxes on missing dlls
This used to work in previou Qt Creator versions. Task-number: QTCREATORBUG-29662 Change-Id: I97b0b15edbc39c2d6c11bb7d71cacd7e006a26f5 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -59,9 +59,6 @@ void ProcessStartHandler::setWindowsSpecificStartupFlags(bool belowNormalPriorit
|
||||
bool createConsoleWindow)
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
if (!belowNormalPriority && !createConsoleWindow)
|
||||
return;
|
||||
|
||||
m_process->setCreateProcessArgumentsModifier(
|
||||
[belowNormalPriority, createConsoleWindow](QProcess::CreateProcessArguments *args) {
|
||||
if (createConsoleWindow) {
|
||||
@@ -71,6 +68,8 @@ void ProcessStartHandler::setWindowsSpecificStartupFlags(bool belowNormalPriorit
|
||||
|
||||
if (belowNormalPriority)
|
||||
args->flags |= BELOW_NORMAL_PRIORITY_CLASS;
|
||||
|
||||
args->flags |= CREATE_DEFAULT_ERROR_MODE;
|
||||
});
|
||||
#else // Q_OS_WIN
|
||||
Q_UNUSED(belowNormalPriority)
|
||||
|
Reference in New Issue
Block a user