fix name file shortcut linux
This commit is contained in:
parent
d9c1456f28
commit
971d2f02ef
|
@ -311,7 +311,7 @@ private:
|
|||
QTextStream out(&shortcutFile);
|
||||
out << "[Desktop Entry]\n";
|
||||
out << "Version=1.0\n";
|
||||
out << "Name=" << QFileInfo(targetPath).baseName() << "\n";
|
||||
out << "Name=" << QFileInfo(linkPath).baseName() << "\n";
|
||||
out << "Exec=" << QCoreApplication::applicationFilePath() << " \"" << targetPath << "\"\n";
|
||||
out << "Icon=" << iconPath << "\n";
|
||||
out << "Terminal=false\n";
|
||||
|
|
Loading…
Reference in New Issue