Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Discover
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
Discover
Commits
643a94ba
Commit
643a94ba
authored
Oct 23, 2017
by
Aleix Pol Gonzalez
🐧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show the remote url when listing them
Gives a better outlook of where it's coming from
parent
a50a342e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
...iscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
+3
-1
No files found.
libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
View file @
643a94ba
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment