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

List:       kde-commits
Subject:    [kalzium] src: Connect to correct application quit slot
From:       Andreas Cord-Landwehr <cordlandwehr () kde ! org>
Date:       2016-11-12 15:47:05
Message-ID: E1c5aWH-00049o-Ip () code ! kde ! org
[Download RAW message or body]

Git commit 7c9e0221cd4a6d9d58c7ee0c9bac32f4e06b40da by Andreas Cord-Landwehr.
Committed on 12/11/2016 at 15:43.
Pushed by cordlandwehr into branch 'master'.

Connect to correct application quit slot

BUG: 371963

M  +1    -1    src/kalzium.cpp

http://commits.kde.org/kalzium/7c9e0221cd4a6d9d58c7ee0c9bac32f4e06b40da

diff --git a/src/kalzium.cpp b/src/kalzium.cpp
index 5986af4..d7c9b4c 100644
--- a/src/kalzium.cpp
+++ b/src/kalzium.cpp
@@ -243,7 +243,7 @@ void Kalzium::setupActions()
 
     KStandardAction::preferences(this, SLOT(showSettingsDialog()), \
actionCollection());  
-    actionCollection()->addAction("quit", KStandardAction::quit(kapp, \
SLOT(closeAllWindows()), actionCollection())); +    \
actionCollection()->addAction("quit", KStandardAction::quit(qApp, SLOT(quit()), \
actionCollection()));  
     m_legendWidget->LockWidget();
 


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

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