From 725724b15d739233c4a8fc0cd416bf602288d4b2 Mon Sep 17 00:00:00 2001 From: Felix Rohrbach Date: Sun, 3 Apr 2011 17:15:28 +0200 Subject: Fix quit action The quit action in the action collection did just close the current rekonq window instead of quitting the application. Reviewed by Andrea Diamantini. BUG: 268578 REVIEW: 101019 --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 34898411..e6286a81 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -359,7 +359,7 @@ void MainWindow::setupActions() KStandardAction::open(this, SLOT(fileOpen()), actionCollection()); KStandardAction::saveAs(this, SLOT(fileSaveAs()), actionCollection()); KStandardAction::print(this, SLOT(printRequested()), actionCollection()); - KStandardAction::quit(this , SLOT(close()), actionCollection()); + KStandardAction::quit(rApp, SLOT(quit()), actionCollection()); a = KStandardAction::find(m_findBar, SLOT(show()), actionCollection()); KShortcut findShortcut = KStandardShortcut::find(); -- cgit v1.2.1