Valgrind: Use "No" button in mode check dialog

...instead of "Cancel".

Change-Id: I4197e3e5d6df9996d4a68a7ad4acf7a11cf0d18e
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2014-11-14 11:18:16 +01:00
parent 1039cf4020
commit 2d58001d86

View File

@@ -126,9 +126,8 @@ static void startLocalTool(IAnalyzerTool *tool)
"Do you want to continue and run the tool in %2 mode?</p></body></html>")
.arg(toolName).arg(currentMode).arg(toolModeString);
if (Utils::CheckableMessageBox::doNotAskAgainQuestion(ICore::mainWindow(),
title, message, ICore::settings(), QLatin1String("AnalyzerCorrectModeWarning"),
QDialogButtonBox::Yes|QDialogButtonBox::Cancel,
QDialogButtonBox::Cancel, QDialogButtonBox::Yes) != QDialogButtonBox::Yes)
title, message, ICore::settings(), QLatin1String("AnalyzerCorrectModeWarning"))
!= QDialogButtonBox::Yes)
return;
}