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

List:       kde-commits
Subject:    [Konversation] 4ef00b3: Fix bug 78108. Make quit action in tray menu
From:       Peter Simonsson <peter.simonsson () gmail ! com>
Date:       2010-07-01 13:27:22
Message-ID: 20100701132722.CDED8BB55C3 () projects ! kde ! org
[Download RAW message or body]

commit 4ef00b377caa8cc868a9e286ae3ca5839948375a
Author: Peter Simonsson <peter.simonsson@gmail.com>
Date:   Mon Mar 22 18:00:53 2004 +0000

    Fix bug 78108. Make quit action in tray menu work again.
    
    CCMAIL: 78108-done@bugs.kde.org
    
    svn path=/trunk/kdeextragear-2/konversation/; revision=297887

diff --git a/konversation/konversationmainwindow.cpp b/konversation/konversationmainwindow.cpp
index 1431e14..958337b 100644
--- a/konversation/konversationmainwindow.cpp
+++ b/konversation/konversationmainwindow.cpp
@@ -150,6 +150,7 @@ KonversationMainWindow::KonversationMainWindow() : KMainWindow()
   tray = new TrayIcon(this);
   connect(this, SIGNAL(startNotification(QWidget*)), tray, SLOT(startNotification(QWidget*)));
   connect(this, SIGNAL(endNotification(QWidget*)), tray, SLOT(endNotification(QWidget*)));
+  connect(tray, SIGNAL(quitSelected()), this, SLOT(quitProgram()));
 
   // decide whether to show the tray icon or not
   updateTrayIcon();
[prev in list] [next in list] [prev in thread] [next in thread] 

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