Skip to content
Commit 04aeb609 authored by Stefan Bauer's avatar Stefan Bauer Committed by Dennis Nienhüser
Browse files

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.

BUG: 355001
(cherry picked from commit 5f09ad0f)
parent a7f4f70f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment