Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Discover
Commits
eda7dfca
Commit
eda7dfca
authored
Jan 20, 2022
by
Aleix Pol Gonzalez
🐧
Browse files
flatpak: Add a warning when remotes aren't listed
Should not happen, should have debug information about it.
parent
42fca287
Changes
1
Hide whitespace changes
Inline
Side-by-side
libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
View file @
eda7dfca
...
...
@@ -852,8 +852,10 @@ bool FlatpakBackend::loadAppsFromAppstreamData(FlatpakInstallation *flatpakInsta
{
Q_ASSERT
(
flatpakInstallation
);
g_autoptr
(
GPtrArray
)
remotes
=
flatpak_installation_list_remotes
(
flatpakInstallation
,
m_cancellable
,
nullptr
);
GError
*
error
=
nullptr
;
g_autoptr
(
GPtrArray
)
remotes
=
flatpak_installation_list_remotes
(
flatpakInstallation
,
m_cancellable
,
&
error
);
if
(
!
remotes
)
{
qWarning
()
<<
"failed to list remotes"
<<
error
->
message
;
return
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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