Verified Commit 26db2686 authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

Fix showing of kcm_kontact config module

CCBUG: 444170
parent 7b921202
......@@ -92,7 +92,7 @@ target_link_libraries(kcm_kontact
KF5::KontactInterface
)
install(TARGETS kcm_kontact DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(TARGETS kcm_kontact DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim/kcms/kontact)
########### install files ###############
......
......@@ -718,6 +718,9 @@ void MainWindow::slotPreferences()
}
});
// Add the main contact KCM which is not associated with a specific plugin
dlg->addModule(KPluginMetaData(QStringLiteral("pim/kcms/kontact/kcm_kontact")));
auto sortByWeight = [](const KPluginMetaData &m1, const KPluginMetaData &m2) {
return m1.rawData().value(QStringLiteral("X-KDE-Weight")).toInt() < m2.rawData().value(QStringLiteral("X-KDE-Weight")).toInt();
};
......
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