Fix the "Desktop file is missing" shown in option page.

This commit is contained in:
Phenom 2016-10-13 13:26:44 +02:00
parent 64129a7dc2
commit 4db6d6b56f

View File

@ -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