forked from qt-creator/qt-creator
Tool: Use "No" button in mode check dialog
...instead of "Cancel". Task-number: QCE-20 Change-Id: Ibef52dc17cb3aee73e1f42eb1c64e4f9d5a9f990 Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
This commit is contained in:
@@ -185,9 +185,7 @@ static bool dontStartAfterHintForDebugMode()
|
|||||||
.arg(toolName).arg(wrongMode);
|
.arg(toolName).arg(wrongMode);
|
||||||
if (Utils::CheckableMessageBox::doNotAskAgainQuestion(Core::ICore::mainWindow(),
|
if (Utils::CheckableMessageBox::doNotAskAgainQuestion(Core::ICore::mainWindow(),
|
||||||
title, message, Core::ICore::settings(),
|
title, message, Core::ICore::settings(),
|
||||||
QLatin1String("ClangStaticAnalyzerCorrectModeWarning"),
|
QLatin1String("ClangStaticAnalyzerCorrectModeWarning")) != QDialogButtonBox::Yes)
|
||||||
QDialogButtonBox::Yes|QDialogButtonBox::Cancel,
|
|
||||||
QDialogButtonBox::Cancel, QDialogButtonBox::Yes) != QDialogButtonBox::Yes)
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user