aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/desktop-plugins/applauncher
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-10-26 18:30:51 -0400
committerKen Moore <ken@ixsystems.com>2017-10-26 18:30:51 -0400
commit9c5f154c2e8cc1ad388732a0bc3ee9bb42f296c6 (patch)
treef36b8c5f944b0e9e6170d59f2423ad1454e89cf6 /src-qt5/core/lumina-desktop/desktop-plugins/applauncher
parentStarted incorporating the Grav screensaver to QML (diff)
downloadlumina-9c5f154c2e8cc1ad388732a0bc3ee9bb42f296c6.tar.gz
lumina-9c5f154c2e8cc1ad388732a0bc3ee9bb42f296c6.tar.bz2
lumina-9c5f154c2e8cc1ad388732a0bc3ee9bb42f296c6.zip
Fix a few places where /net/ files are still checked for existance (pauses/delays the session init)
Diffstat (limited to 'src-qt5/core/lumina-desktop/desktop-plugins/applauncher')
-rw-r--r--src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp2
1 files changed, 1 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 0258d561..533b5997 100644
--- a/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
+++ b/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
@@ -44,7 +44,7 @@ void AppLauncherPlugin::loadButton(){
QFileInfo info(path);
this->contextMenu()->clear();
//qDebug() << "Default Application Launcher:" << def << path;
- bool ok = QFile::exists(path);
+ bool ok = info.canonicalPath().startsWith("/net/") || QFile::exists(path);
if(!ok){ emit RemovePlugin(this->ID()); return;}
icosize = this->height()-4 - 2.2*button->fontMetrics().height();
button->setFixedSize( this->width()-4, this->height()-4);
bgstack15