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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/tasks (silent)
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2008-01-31 23:05:15
Message-ID: 1201820715.247869.32470.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 769263 by sebsauer:

to be sure readers got that this is a tmp hack. SVN_SILENT

 M  +2 -1      tasks.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/tasks.cpp #769262:769263
@@ -118,8 +118,9 @@
 
     //TODO we don't like to display e.g. the desktop's context-menu. This ugly hack
     // does only show the context-actions if we are really inside a panel.
+    //FIXME replace that ugly hack with something designed for such logic.
     if (containment() && strcmp(containment()->metaObject()->className(),"Panel") == 0) {
-        return containment() ? containment()->contextActions() : QList<QAction*>();
+        return containment()->contextActions();
     }
 
     return QList<QAction*>();
[prev in list] [next in list] [prev in thread] [next in thread] 

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