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

List:       kde-commits
Subject:    KDE_3_1_BRANCH: kdelibs/kdeui
From:       Aaron J. Seigo <aseigo () olympusproject ! org>
Date:       2003-06-23 22:31:02
[Download RAW message or body]

CVS commit by aseigo: 

backport of the "don't crash even if the developer decides to violate
the styleguide" fix


  M +6 -1      ksystemtray.cpp   1.22.2.6


--- kdelibs/kdeui/ksystemtray.cpp  #1.22.2.5:1.22.2.6
@@ -112,5 +112,10 @@ void KSystemTray::showEvent( QShowEvent 
 
         action = d->actionCollection->action(KStdAction::name(KStdAction::Quit));
+
+        if (action)
+        {
         action->plug(menu);
+        }
+
         hasQuit = 1;
     }


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

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