kcmodule and kcmoduleproxy
Sebastian Sauer
mail at dipe.org
Thu Dec 4 02:00:19 GMT 2008
Hi *
The KCMultiDialog class used for e.g. "Configure Konqueror" uses kcmodule for
its configurable items and kcmoduleproxy which allows to delay loading the
kcmodule plugins till they are requested.
Current situation is, that the kcmodule's are just always loaded and not only
if they are needed/displayed. That results here in a delay of around 10
seconds if I call "Configure Konqueror" till the dialog is displayed and does
render the kcmoduleproxy's unneeded. The reason for that is, that on
addPage() also KCModuleProxy::minimumSizeHint() got called and there the
kcmodule is loaded.
Attached patch does fix that. Ok to commit?
Index: kcmoduleproxy.cpp
===================================================================
--- kcmoduleproxy.cpp (revision 892245)
+++ kcmoduleproxy.cpp (working copy)
@@ -343,7 +343,6 @@
QSize KCModuleProxy::minimumSizeHint() const
{
- realModule();
return QWidget::minimumSizeHint();
}
More information about the kde-core-devel
mailing list