diff options
author | Felix Rohrbach <fxrh@gmx.de> | 2011-04-03 17:15:28 +0200 |
---|---|---|
committer | Felix Rohrbach <fxrh@gmx.de> | 2011-04-04 15:59:46 +0200 |
commit | 725724b15d739233c4a8fc0cd416bf602288d4b2 (patch) | |
tree | 08386c874e868e8da4ace9dcac5f8bd3d1655056 | |
parent | fix string :-) (diff) | |
download | rekonq-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.cpp | 2 |
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(); |