Fixed: Desktop files need to be executable

--HG--
branch : develop
This commit is contained in:
kervala 2016-09-28 23:32:24 +02:00
parent 9af4edf07a
commit 9c4225d74e

View file

@ -238,6 +238,9 @@ bool createLink(const QString &link, const QString &name, const QString &executa
file.write(data.toUtf8());
file.close();
// set executable flags to .desktop
QFile::setPermissions(path, QFile::permissions(path) | QFile::ExeGroup | QFile::ExeUser | QFile::ExeOther);
return true;
}