diff options
author | Ken Moore <ken@ixsystems.com> | 2016-10-11 09:47:41 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-10-11 09:47:41 -0400 |
commit | dfa2c19bfa7c2d58194eac908c008cb8d2b0340d (patch) | |
tree | dde4ec9e5440dad52807c8615a6280d2daf6230b /src-qt5/core/lumina-desktop/desktop-plugins/applauncher | |
parent | Adjust the FreeBSD CPU temperature routine to use the dev.cpu.* values if ava... (diff) | |
download | lumina-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.cpp | 1 |
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()) ); } |