[plasma/kwin] src/kcms/options: kcms/options: register KWinOptionsData

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit ac2dcd0d153b761458f11011b37d767709f4d97b by Vlad Zahorodnii, on behalf of Tobias Ozór.
Committed on 30/07/2026 at 09:46.
Pushed by vladz into branch 'master'.

kcms/options: register KWinOptionsData
Otherwise, the System Settings sidebar doesn't highlight the KCM when
any option has a non-default value.

M  +1    -1    src/kcms/options/kwinoptions.cpp

https://invent.kde.org/plasma/kwin/-/commit/ac2dcd0d153b761458f11011b37d767709f4d97b

diff --git a/src/kcms/options/kwinoptions.cpp b/src/kcms/options/kwinoptions.cpp
index d0fa5cb2736..09bd42638d3 100644
--- a/src/kcms/options/kwinoptions.cpp
+++ b/src/kcms/options/kwinoptions.cpp
@@ -12,7 +12,7 @@
 #include <QDBusMessage>
 #include <qqml.h>
 
-K_PLUGIN_CLASS_WITH_JSON(KWinOptions, "kcm_kwinoptions.json")
+K_PLUGIN_FACTORY_WITH_JSON(KWinOptionsFactory, "kcm_kwinoptions.json", registerPlugin<KWinOptions>(); registerPlugin<KWinOptionsData>();)
 
 KWinOptions::KWinOptions(QObject *parent, const KPluginMetaData &metaData)
     : KQuickManagedConfigModule(parent, metaData)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.