Merge pull request #427 from PhenomRetroShare/Fix_TheRetroSharesDeskTopFileIsMissing

Fix "!!!The RetroShare's desktop file is missing or wrong!!!" message
This commit is contained in:
Cyril Soler 2016-06-25 13:01:36 -04:00 committed by GitHub
commit 043c5b1f22

View File

@ -777,7 +777,7 @@ bool RshareSettings::getRetroShareProtocol()
}
}
#elif defined(Q_OS_LINUX)
QFile desktop("/usr/share/applications/retroshare06.desktop");
QFile desktop("/usr/share/applications/RetroShare06.desktop");
if (desktop.exists()) {
desktop.open(QIODevice::ReadOnly | QIODevice::Text);
QTextStream in(&desktop);