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
330af80e
Commit
330af80e
authored
Feb 08, 2021
by
Aleix Pol Gonzalez
🐧
Committed by
Aleix Pol Gonzalez
Feb 09, 2021
Browse files
pk: remove unused method
It was only used for debugging an edge case. (cherry picked from commit
18bbc381
)
parent
e52367fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
libdiscover/backends/PackageKitBackend/PKTransaction.cpp
View file @
330af80e
...
...
@@ -69,7 +69,7 @@ void PKTransaction::trigger(PackageKit::Transaction::TransactionFlags flags)
//FIXME this state shouldn't exist
qWarning
()
<<
"Installing no packages found!"
;
for
(
auto
app
:
m_apps
)
{
qCDebug
(
LIBDISCOVER_BACKEND_LOG
)
<<
"app"
<<
app
<<
app
->
state
()
<<
static_cast
<
PackageKitResource
*>
(
app
)
->
packages
()
;
qCDebug
(
LIBDISCOVER_BACKEND_LOG
)
<<
"app"
<<
app
<<
app
->
state
();
}
setStatus
(
Transaction
::
DoneWithErrorStatus
);
...
...
libdiscover/backends/PackageKitBackend/PackageKitResource.h
View file @
330af80e
...
...
@@ -46,8 +46,6 @@ class PackageKitResource : public AbstractResource
void
clearPackageIds
()
{
m_packages
.
clear
();
}
QMap
<
PackageKit
::
Transaction
::
Info
,
QStringList
>
packages
()
const
{
return
m_packages
;
}
PackageKitBackend
*
backend
()
const
;
static
QString
joinPackages
(
const
QStringList
&
pkgids
,
const
QString
&
_sep
,
const
QString
&
shadowPackageName
);
...
...
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