diff options
author | Weblate <noreply@weblate.org> | 2017-11-24 19:26:13 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2017-11-24 19:26:13 +0000 |
commit | 56890dfdacb3272808dfaedee7f4d9208f6d5acc (patch) | |
tree | 2da40ddecdc429da1e495b3136d0c9dc61ef56c3 /src-qt5/core/lumina-desktop/panel-plugins/applauncher | |
parent | Translated using Weblate (Hungarian) (diff) | |
parent | Merge pull request #512 from schnitzeltony/master (diff) | |
download | lumina-56890dfdacb3272808dfaedee7f4d9208f6d5acc.tar.gz lumina-56890dfdacb3272808dfaedee7f4d9208f6d5acc.tar.bz2 lumina-56890dfdacb3272808dfaedee7f4d9208f6d5acc.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core/lumina-desktop/panel-plugins/applauncher')
-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) ); } |