summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-05 16:49:57 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-05 16:49:57 +0200
commitb2303b6eed202ab3685b37be0552ab2c30498b0e (patch)
tree8c50db56d4e8a257db4cab629e4255f00b6bc6ea /src/mainview.cpp
parentpedantic (diff)
downloadrekonq-b2303b6eed202ab3685b37be0552ab2c30498b0e.tar.xz
Fixed no/no close tab confirm messagebox
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 3c563230..0c39e418 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -488,8 +488,8 @@ void MainView::closeTab(int index)
int risp = KMessageBox::questionYesNo(this ,
i18n("You have modified this page and when closing it you would lose the modification.\n"
"Do you really want to close this page?\n"),
- i18n("Do you really want to close this page?"),
- KStandardGuiItem::no());
+ i18n("Do you really want to close this page?")
+ );
if (risp == KMessageBox::No)
return;
}
@@ -516,6 +516,7 @@ void MainView::closeTab(int index)
}
+// FIXME
void MainView::webViewLoadStarted()
{
WebView *webView = qobject_cast<WebView*>(sender());