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:
Nikolai Kosjar
2014-11-14 11:17:01 +01:00
parent 293dcae8c7
commit 802a7d653c

View File

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