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
System
Dolphin
Commits
6228921f
Commit
6228921f
authored
Nov 11, 2021
by
Alexander Lohnau
Browse files
Load trash KCM using KPluginMetaData
The QString overload uses KServiceTypeTrader, which is deprecated
parent
36c9b52d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/settings/trash/trashsettingspage.cpp
View file @
6228921f
...
...
@@ -15,7 +15,7 @@ TrashSettingsPage::TrashSettingsPage(QWidget* parent) :
{
QFormLayout
*
topLayout
=
new
QFormLayout
(
this
);
m_proxy
=
new
KCModuleProxy
(
QStringLiteral
(
"kcmtrash"
));
m_proxy
=
new
KCModuleProxy
(
KPluginMetaData
(
QStringLiteral
(
"kcm
_
trash"
))
)
;
topLayout
->
addRow
(
m_proxy
);
loadSettings
();
...
...
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