mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
oops
This commit is contained in:
parent
3b3492470e
commit
9285ee40bd
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue