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

List:       kde-commits
Subject:    KDE/kdeutils/kremotecontrol/krcdnotifieritem
From:       Michael Zanetti <mzanetti () kde ! org>
Date:       2010-11-14 15:45:48
Message-ID: 20101114154548.5B258AC8A1 () svn ! kde ! org
[Download RAW message or body]

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()));


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

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