aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/desktop-plugins/applauncher
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-10-11 09:47:41 -0400
committerKen Moore <ken@ixsystems.com>2016-10-11 09:47:41 -0400
commitdfa2c19bfa7c2d58194eac908c008cb8d2b0340d (patch)
treedde4ec9e5440dad52807c8615a6280d2daf6230b /src-qt5/core/lumina-desktop/desktop-plugins/applauncher
parentAdjust the FreeBSD CPU temperature routine to use the dev.cpu.* values if ava... (diff)
downloadlumina-dfa2c19bfa7c2d58194eac908c008cb8d2b0340d.tar.gz
lumina-dfa2c19bfa7c2d58194eac908c008cb8d2b0340d.tar.bz2
lumina-dfa2c19bfa7c2d58194eac908c008cb8d2b0340d.zip
Add a "launch" option within the context menu for applauncher desktop plugins.
Fixes #272
Diffstat (limited to 'src-qt5/core/lumina-desktop/desktop-plugins/applauncher')
-rw-r--r--src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp b/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
index b74bbcb3..e9ef78cb 100644
--- a/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
+++ b/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
@@ -19,6 +19,7 @@ AppLauncherPlugin::AppLauncherPlugin(QWidget* parent, QString ID) : LDPlugin(par
watcher = new QFileSystemWatcher(this);
connect(watcher, SIGNAL(fileChanged(QString)), this, SLOT( loadButton()) );
+ connect(this, SIGNAL(PluginActivated()), this, SLOT(buttonClicked()) ); //in case they use the context menu to launch it.
QTimer::singleShot(200,this, SLOT(loadButton()) );
}
bgstack15