[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:03:44 UTC 2015


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

Dennis Nienhüser <nienhueser at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/marb
                   |                            |le/04aeb609932880caf0fe7103
                   |                            |792039a497c4c5df
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Dennis Nienhüser <nienhueser at kde.org> ---
Git commit 04aeb609932880caf0fe7103792039a497c4c5df by Dennis Nienhüser, on
behalf of Stefan Bauer.
Committed on 22/11/2015 at 18:03.
Pushed by nienhueser into branch 'Applications/15.12'.

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.
(cherry picked from commit 5f09ad0fc33627aff7d13ddff64d2f6d7b035fb8)

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

http://commits.kde.org/marble/04aeb609932880caf0fe7103792039a497c4c5df

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


More information about the Marble-bugs mailing list