summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
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());