diff options
author | Ken Moore <ken@ixsystems.com> | 2017-11-21 11:21:47 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-11-21 11:21:47 -0500 |
commit | a881c51e7b20f086b6b8b546c116d38478f87840 (patch) | |
tree | 66ad35378662d2f4bc833340b1dd0d4f0db484e9 /src-qt5/core/lumina-desktop/panel-plugins | |
parent | Do not have the main lumina-pdf window grab the keyboard. (diff) | |
download | lumina-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.cpp | 2 |
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) ); } |