Browse Source

Merge pull request #181 from sithlord48/master

Remove duplicate if on svgz icon check
master
probonopd 7 years ago
committed by GitHub
parent
commit
0bb00f8250
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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