[Marble-bugs] [marble] [Bug 355001] [Regression] [Patch] marble-kde cannot open local files

Dennis Nienhüser via KDE Bugzilla bugzilla_noreply at kde.org
Sun Nov 22 18:00:47 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=355001

--- Comment #2 from Dennis Nienhüser <nienhueser at kde.org> ---
Git commit 5f09ad0fc33627aff7d13ddff64d2f6d7b035fb8 by Dennis Nienhüser, on
behalf of Stefan Bauer.
Committed on 22/11/2015 at 17:59.
Pushed by nienhueser into branch 'master'.

MarblePart::openFile(): Create a working QUrl from the selected files

The file open dialog returns the path(s) as QString.
MarblePart::openUrl() expects a QUrl.
The previous implicit conversion from QString to QUrl creates broken
QUrl instances because the file:// protocol is missing.
Fix this by calling QUrl::fromLocalPath() explicitly.

M  +1    -1    src/apps/marble-kde/marble_part.cpp

http://commits.kde.org/marble/5f09ad0fc33627aff7d13ddff64d2f6d7b035fb8

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list