Summary: | [Regression] [Patch] marble-kde cannot open local files | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | Stefan Bauer <stefan-a-bauer> |
Component: | general | Assignee: | marble-bugs |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.12 (KDE Applications 15.08) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/marble/04aeb609932880caf0fe7103792039a497c4c5df | Version Fixed In: | |
Sentry Crash Report: |
Description
Stefan Bauer
2015-11-07 18:05:49 UTC
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 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 |