Commit 9365486f authored by Ahmad Samir's avatar Ahmad Samir Committed by Jonathan Esk-Riddell
Browse files

Fix build by explicitly creating a QUrl from QString

Reported by Ömer Fadıl Usta on IRC.
parent ecd30fbc
Pipeline #141112 passed with stage
in 2 minutes and 12 seconds
......@@ -725,7 +725,7 @@ void FlatpakBackend::addAppFromFlatpakRef(const QUrl &url, ResultsStream *stream
auto resource = new FlatpakResource(asComponent, preferredInstallation(), this);
resource->setFlatpakFileType(FlatpakResource::FileFlatpakRef);
resource->setResourceFile(url);
resource->setResourceLocation(refurl);
resource->setResourceLocation(QUrl(refurl));
resource->setOrigin(remoteName);
resource->setFlatpakName(name);
resource->setArch(flatpak_get_default_arch());
......
Supports Markdown
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