Merge pull request from PhenomRetroShare/Fix_MissingDesktopFileShow

Fix the "Desktop file is missing" shown in option page.
This commit is contained in:
Cyril Soler 2016-10-13 13:48:32 +02:00 committed by GitHub
commit 0e1fad0ff7

@ -802,7 +802,7 @@ bool RshareSettings::getRetroShareProtocol()
}
desktop.close();
if (lines.contains("Exec=" + getAppPathForProtocol()))
if (lines.contains("MimeType=x-scheme-handler/retroshare"))
if (lines.contains("MimeType=x-scheme-handler/retroshare;"))
return true;
}
#else