aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/panel-plugins
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-11-21 11:21:47 -0500
committerKen Moore <ken@ixsystems.com>2017-11-21 11:21:47 -0500
commita881c51e7b20f086b6b8b546c116d38478f87840 (patch)
tree66ad35378662d2f4bc833340b1dd0d4f0db484e9 /src-qt5/core/lumina-desktop/panel-plugins
parentDo not have the main lumina-pdf window grab the keyboard. (diff)
downloadlumina-a881c51e7b20f086b6b8b546c116d38478f87840.tar.gz
lumina-a881c51e7b20f086b6b8b546c116d38478f87840.tar.bz2
lumina-a881c51e7b20f086b6b8b546c116d38478f87840.zip
Quick adjustment for the finding of icons.
Only use the fallback icon *after* the more expansive routine also fails.
Diffstat (limited to 'src-qt5/core/lumina-desktop/panel-plugins')
-rw-r--r--src-qt5/core/lumina-desktop/panel-plugins/applauncher/AppLaunchButton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/applauncher/AppLaunchButton.cpp b/src-qt5/core/lumina-desktop/panel-plugins/applauncher/AppLaunchButton.cpp
index 1fd819b5..98770f18 100644
--- a/src-qt5/core/lumina-desktop/panel-plugins/applauncher/AppLaunchButton.cpp
+++ b/src-qt5/core/lumina-desktop/panel-plugins/applauncher/AppLaunchButton.cpp
@@ -16,7 +16,7 @@ AppLaunchButtonPlugin::AppLaunchButtonPlugin(QWidget *parent, QString id, bool h
button->setAutoRaise(true);
button->setToolButtonStyle(Qt::ToolButtonIconOnly);
appfile = id.section("---",0,0).section("::",1,1);
- if(!QFile::exists(appfile) && appfile.endsWith(".desktop")){
+ if(!QFile::exists(appfile) && appfile.endsWith(".desktop")){
//might be a relative path - try to find the file
appfile = LUtils::AppToAbsolute(appfile.section("/",-1) );
}
bgstack15