summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Rohrbach <fxrh@gmx.de>2011-04-03 17:15:28 +0200
committerFelix Rohrbach <fxrh@gmx.de>2011-04-04 15:59:46 +0200
commit725724b15d739233c4a8fc0cd416bf602288d4b2 (patch)
tree08386c874e868e8da4ace9dcac5f8bd3d1655056
parentfix string :-) (diff)
downloadrekonq-725724b15d739233c4a8fc0cd416bf602288d4b2.tar.xz
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
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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();