mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-30 07:35:59 +00:00
Fixed: Desktop files need to be executable
--HG-- branch : develop
This commit is contained in:
parent
9af4edf07a
commit
9c4225d74e
1 changed files with 3 additions and 0 deletions
|
@ -238,6 +238,9 @@ bool createLink(const QString &link, const QString &name, const QString &executa
|
||||||
file.write(data.toUtf8());
|
file.write(data.toUtf8());
|
||||||
file.close();
|
file.close();
|
||||||
|
|
||||||
|
// set executable flags to .desktop
|
||||||
|
QFile::setPermissions(path, QFile::permissions(path) | QFile::ExeGroup | QFile::ExeUser | QFile::ExeOther);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue