refactor #if checks
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
This commit is contained in:
parent
f7d7d76ee8
commit
b813c867b5
2 changed files with 23 additions and 25 deletions
|
@ -395,7 +395,7 @@ bool createShortcut(QString destination, QString target, QStringList args, QStri
|
|||
f.setPermissions(f.permissions() | QFileDevice::ExeOwner | QFileDevice::ExeGroup | QFileDevice::ExeOther);
|
||||
|
||||
return true;
|
||||
#elif defined Q_OS_WIN
|
||||
#elif defined(Q_OS_WIN)
|
||||
QFileInfo targetInfo(target);
|
||||
|
||||
if (!targetInfo.exists())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue