KCModuleContainer
Martin Koller
kollix at aon.at
Wed Oct 11 16:47:49 UTC 2017
Hi,
I'm trying to use KCModuleContainer to show 3 kcm modules, however this class constantly crashes
when switching tabs.
checking the sourcecode, I see the reason:
void KCModuleContainer::tabSwitched(int index)
...
setAboutData(mod->aboutData());
but since the base class KCModule always deletes the previous set KAboutData (which is owned by the loaded modules)
the problem is clear.
This leads me to the general question: Is this class used at all, since
https://lxr.kde.org/ident?v=kf5-qt5&_i=KCModuleContainer
shows no users.
And another interesting thing is that the header file is installed here (openSuse 42.2, KF5 5.38.0) twice:
/usr/include/KF5/KDELibs4Support/KDE/KCModuleContainer
/usr/include/KF5/KCMUtils/KCModuleContainer
Is this class meant to be no longer used ?
--
Best regards/Schöne Grüße
Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments
Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at
More information about the Kde-frameworks-devel
mailing list