summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-03-12 12:23:22 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-03-12 12:23:22 +0100
commitf46a4d0285fad69c7840ecd8a6803a3644af2112 (patch)
treedac8ddc78a047e27fb063f5739bad66d6161a621 /src
parentAdded i18n stuffs (diff)
parentFurther changes to my last commit (diff)
downloadrekonq-f46a4d0285fad69c7840ecd8a6803a3644af2112.tar.xz
Merge commit 'refs/merge-requests/102' of git://gitorious.org/rekonq/mainline into panoMR
Diffstat (limited to 'src')
-rw-r--r--src/mainview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index e2f9094f..f2152364 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -495,12 +495,12 @@ void MainView::closeTab(int index)
{
if (tab->view()->isModified())
{
- int risp = KMessageBox::questionYesNo(this,
+ int risp = KMessageBox::warningContinueCancel(this,
i18n("This tab contains changes that have not been submitted.\n"
"Closing the tab will discard these changes.\n"
"Do you really want to close this tab?\n"),
- i18n("Closing Modified Tab"));
- if (risp == KMessageBox::No)
+ i18n("Closing Modified Tab"), KGuiItem(i18n("Close &Tab"),"tab-close"), KStandardGuiItem::cancel());
+ if (risp != KMessageBox::Continue)
return;
}
hasFocus = tab->hasFocus();