Commit 6228921f authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Load trash KCM using KPluginMetaData

The QString overload uses KServiceTypeTrader, which is deprecated
parent 36c9b52d
......@@ -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();
......
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