Fixed: Desktop files need to be executable
This commit is contained in:
parent
8c6a90df1c
commit
c612ccc2b0
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.close();
|
||||
|
||||
// set executable flags to .desktop
|
||||
QFile::setPermissions(path, QFile::permissions(path) | QFile::ExeGroup | QFile::ExeUser | QFile::ExeOther);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue