From kde-commits Thu Jan 31 23:05:15 2008 From: Sebastian Sauer Date: Thu, 31 Jan 2008 23:05:15 +0000 To: kde-commits Subject: KDE/kdebase/workspace/plasma/applets/tasks (silent) Message-Id: <1201820715.247869.32470.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=120182073422627 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(); + return containment()->contextActions(); } return QList();