diff options
author | Ken Moore <ken@ixsystems.com> | 2016-11-12 09:19:29 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-11-12 09:19:29 -0500 |
commit | 3464e681e6eebe8022b75750405770e8dfe7db87 (patch) | |
tree | 6ceecbdc01ae28ec93d1faf0c941882136602515 /src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp | |
parent | Fix up the panel autohide routine so it actually resizes the panels instead o... (diff) | |
download | lumina-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.cpp | 3 |
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(){ |