mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-14 10:19:26 -04:00
Fix Desktop Filename for option page message.
This commit is contained in:
parent
7cd31aa788
commit
4b0f82a6d0
1 changed files with 4 additions and 1 deletions
|
@ -789,7 +789,10 @@ bool RshareSettings::getRetroShareProtocol()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#elif defined(Q_OS_LINUX)
|
#elif defined(Q_OS_LINUX)
|
||||||
QFile desktop("/usr/share/applications/RetroShare06.desktop");
|
QFile desktop("/usr/share/applications/retroshare06.desktop");
|
||||||
|
if (!desktop.exists()) {
|
||||||
|
desktop.setFileName("/usr/share/applications/RetroShare06.desktop");
|
||||||
|
}
|
||||||
if (desktop.exists()) {
|
if (desktop.exists()) {
|
||||||
desktop.open(QIODevice::ReadOnly | QIODevice::Text);
|
desktop.open(QIODevice::ReadOnly | QIODevice::Text);
|
||||||
QTextStream in(&desktop);
|
QTextStream in(&desktop);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue