From kde-commits Sun Nov 14 15:45:48 2010 From: Michael Zanetti Date: Sun, 14 Nov 2010 15:45:48 +0000 To: kde-commits Subject: KDE/kdeutils/kremotecontrol/krcdnotifieritem Message-Id: <20101114154548.5B258AC8A1 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=128974959002705 SVN commit 1196983 by mzanetti: open the notifierItems context menu also when clicking with left mouse button to behave more like other items M +1 -0 krcdnotifieritem.cpp --- trunk/KDE/kdeutils/kremotecontrol/krcdnotifieritem/krcdnotifieritem.cpp #1196982:1196983 @@ -37,6 +37,7 @@ // No need for close button... setStandardActionsEnabled(false); + setAssociatedWidget(&m_menu); updateContextMenu(); QDBusConnection::sessionBus().connect(QLatin1String( "org.kde.kded" ), QLatin1String( "/modules/kremotecontroldaemon" ), QLatin1String( "org.kde.krcd" ), QLatin1String( "connectionChanged" ), this, SLOT(updateTray())); QDBusConnection::sessionBus().connect(QLatin1String( "org.kde.kded" ), QLatin1String( "/modules/kremotecontroldaemon" ), QLatin1String( "org.kde.krcd" ), QLatin1String( "remoteControlAdded" ), this, SLOT(updateTray()));