[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: KCModuleContainer
From: Martin Koller <kollix () aon ! at>
Date: 2017-10-11 16:47:49
Message-ID: 301558856.EF2y3SP1m0 () lapi ! koller
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic