From f61e8672db50445a3f84d37e657d38fbaa0d5083 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 2 Dec 2008 14:09:21 +0100 Subject: more cosmetic changes --- src/libs/utils/reloadpromptutils.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/libs/utils/reloadpromptutils.cpp') diff --git a/src/libs/utils/reloadpromptutils.cpp b/src/libs/utils/reloadpromptutils.cpp index ca1d9e23de..9c4111a7db 100644 --- a/src/libs/utils/reloadpromptutils.cpp +++ b/src/libs/utils/reloadpromptutils.cpp @@ -30,7 +30,9 @@ ** 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ + #include "reloadpromptutils.h" + #include using namespace Core; @@ -47,7 +49,8 @@ QWORKBENCH_UTILS_EXPORT Core::Utils::ReloadPromptAnswer QWORKBENCH_UTILS_EXPORT Core::Utils::ReloadPromptAnswer Core::Utils::reloadPrompt(const QString &title, const QString &prompt, QWidget *parent) { - switch (QMessageBox::question(parent, title, prompt, QMessageBox::Yes|QMessageBox::YesToAll|QMessageBox::No|QMessageBox::NoToAll, + switch (QMessageBox::question(parent, title, prompt, + QMessageBox::Yes|QMessageBox::YesToAll|QMessageBox::No|QMessageBox::NoToAll, QMessageBox::YesToAll)) { case QMessageBox::Yes: return ReloadCurrent; -- cgit v1.2.1