Browse Source

Remove duplicate if on svgz icon check

master
Chris Rizzitello 7 years ago
parent
commit
35c2fedfa6
  1. 2
      tools/linuxdeployqt/main.cpp

2
tools/linuxdeployqt/main.cpp

@ -305,7 +305,7 @@ int main(int argc, char **argv)
}
if(QFileInfo(appDirPath + "/" + desktopIconEntry + ".svgz").exists() == true){
preExistingToplevelIcon = appDirPath + "/" + desktopIconEntry + ".svgz";
if(QFileInfo(appDirPath + "/.DirIcon").exists() == false) if(QFileInfo(appDirPath + "/.DirIcon").exists() == false) QFile::copy(preExistingToplevelIcon, appDirPath + "/.DirIcon");
if(QFileInfo(appDirPath + "/.DirIcon").exists() == false) QFile::copy(preExistingToplevelIcon, appDirPath + "/.DirIcon");
}
if(QFileInfo(appDirPath + "/" + desktopIconEntry + ".svg").exists() == true){
preExistingToplevelIcon = appDirPath + "/" + desktopIconEntry + ".svg";

Loading…
Cancel
Save