Browse Source
Merge pull request #181 from sithlord48/master
Remove duplicate if on svgz icon check
master
probonopd
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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"; |
|
|
|