Commit 5d659363 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't try to guess the url location

Usually should be a remote URL anyway

BUG: 393987
parent eae21be8
......@@ -75,7 +75,7 @@ QAbstractItemModel* FlatpakSourcesBackend::sources()
bool FlatpakSourcesBackend::addSource(const QString &id)
{
FlatpakBackend* backend = qobject_cast<FlatpakBackend*>(parent());
const QUrl flatpakrepoUrl = QUrl::fromUserInput(id);
const QUrl flatpakrepoUrl(id);
if (id.isEmpty() || !flatpakrepoUrl.isValid())
return false;
......
Markdown is supported
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