aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-11-12 09:19:29 -0500
committerKen Moore <ken@ixsystems.com>2016-11-12 09:19:29 -0500
commit3464e681e6eebe8022b75750405770e8dfe7db87 (patch)
tree6ceecbdc01ae28ec93d1faf0c941882136602515 /src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
parentFix up the panel autohide routine so it actually resizes the panels instead o... (diff)
downloadlumina-3464e681e6eebe8022b75750405770e8dfe7db87.tar.gz
lumina-3464e681e6eebe8022b75750405770e8dfe7db87.tar.bz2
lumina-3464e681e6eebe8022b75750405770e8dfe7db87.zip
Speed up the initial loading of the desktop at start, and delay the auto-started apps by 1/2 second.
Diffstat (limited to 'src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp3
1 files changed, 2 insertions, 1 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 708355cd..3be19faa 100644
--- a/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
+++ b/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
@@ -20,7 +20,8 @@ AppLauncherPlugin::AppLauncherPlugin(QWidget* parent, QString ID) : LDPlugin(par
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()) );
+ loadButton();
+ //QTimer::singleShot(0,this, SLOT(loadButton()) );
}
void AppLauncherPlugin::Cleanup(){
bgstack15