Skip to content
Commit 5f09ad0f 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.

CCBUG: 355001
parent 8417b5df
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