diff options
Diffstat (limited to 'libLumina/LuminaXDG.cpp')
-rw-r--r-- | libLumina/LuminaXDG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaXDG.cpp b/libLumina/LuminaXDG.cpp index 1756c03b..9fa69cef 100644 --- a/libLumina/LuminaXDG.cpp +++ b/libLumina/LuminaXDG.cpp @@ -258,7 +258,7 @@ QString LXDG::getDesktopExec(XDGDesktop app){ if(out.contains("%i")){ out.replace("%i", "--icon \'"+app.icon+"\'"); } if(out.contains("%c")){ if(!app.name.isEmpty()){ out.replace("%c", ""+app.name+""); } - else if(!app.genericName.isEmpty()){ out.replace(" %c ", ""+app.genericName+""); } + else if(!app.genericName.isEmpty()){ out.replace("%c", ""+app.genericName+""); } } if(out.contains("%k")){ out.replace("%k", "\'"+app.filePath+"\'"); } return out; |