From b2303b6eed202ab3685b37be0552ab2c30498b0e Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 5 Apr 2009 16:49:57 +0200 Subject: Fixed no/no close tab confirm messagebox --- src/mainview.cpp | 5 +++-- 1 file 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(sender()); -- cgit v1.2.1