This commit is contained in:
Ivailo Monev 2014-11-24 14:14:17 +00:00
parent 3b3492470e
commit 9285ee40bd

View file

@ -881,12 +881,12 @@ QString Quicklaunch::defaultBrowserPath()
// No global browser configured or configuration is invalid. Falling
// back to MIME type association.
KService::Ptr service;
service = KMimeTypeTrader::self()->preferredService("application/xhtml+xml");
if (service && service->isValid()) {
return service->entryPath();
}
KService::Ptr service;
service = KMimeTypeTrader::self()->preferredService("text/html");
if (service && service->isValid()) {
return service->entryPath();