Commit 643a94ba authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Show the remote url when listing them

Gives a better outlook of where it's coming from
parent a50a342e
......@@ -26,6 +26,7 @@
#include <QDebug>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QAction>
#include <glib.h>
#include <QTemporaryFile>
......@@ -145,7 +146,8 @@ bool FlatpakSourcesBackend::listRepositories(FlatpakInstallation* installation)
}
const QString id = QString::fromUtf8(flatpak_remote_get_name(remote));
const QString title = QString::fromUtf8(flatpak_remote_get_title(remote));
const QString title = i18nc("description (url)", "%1 (%2)", QString::fromUtf8(flatpak_remote_get_title(remote)), remoteUrl);
const QString remoteUrl = QString::fromUtf8(flatpak_remote_get_url(remote));
for(QAction *action: actions) {
if (action->toolTip() == id) {
......
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