[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Brekonq=5D_src=3A_Fix_quit_action?=
From:       Felix Rohrbach <fxrh () gmx ! de>
Date:       2011-04-04 13:58:17
Message-ID: 20110404135817.AB165A609B () git ! kde ! org
[Download RAW message or body]

Git commit 725724b15d739233c4a8fc0cd416bf602288d4b2 by Felix Rohrbach.
Committed on 03/04/2011 at 17:15.
Pushed by felixr into branch 'master'.

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

M  +1    -1    src/mainwindow.cpp     

http://commits.kde.org/rekonq/725724b15d739233c4a8fc0cd416bf602288d4b2

diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 3489841..e6286a8 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();

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic