mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Changed: Write icon under Linux if not found
This commit is contained in:
parent
850ab2cc9d
commit
d9e8c9bb13
1 changed files with 6 additions and 0 deletions
|
@ -793,6 +793,12 @@ void COperationDialog::copyInstaller()
|
|||
#else
|
||||
// icon is in the same directory as installer
|
||||
icon = config->getInstallationDirectory() + "/ryzom_installer.png";
|
||||
|
||||
// create icon if not exists
|
||||
if (!QFile::exists(icon) && !writeResource(":/icons/ryzom.png", icon))
|
||||
{
|
||||
qDebug() << "Unable to create" << icon;
|
||||
}
|
||||
#endif
|
||||
|
||||
createShortcut(shortcut, name, executable, "", icon, "");
|
||||
|
|
Loading…
Reference in a new issue