summaryrefslogtreecommitdiffabout
path: root/kaddressbook/extensionmanager.cpp
Side-by-side diff
Diffstat (limited to 'kaddressbook/extensionmanager.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/extensionmanager.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/kaddressbook/extensionmanager.cpp b/kaddressbook/extensionmanager.cpp
index 98561dc..efbdf17 100644
--- a/kaddressbook/extensionmanager.cpp
+++ b/kaddressbook/extensionmanager.cpp
@@ -59,4 +59,5 @@ ExtensionManager::ExtensionManager( KABCore *core, QWidget *parent,
SLOT( setActiveExtension( int ) ) );
mWidgetBox = new QWidget( viewport() );
+ new QHBoxLayout (mWidgetBox );
addChild( mWidgetBox );
setResizePolicy(AutoOneFit);
@@ -159,5 +160,5 @@ void ExtensionManager::createExtensionWidgets()
// add addressee editor as default
- QHBoxLayout *hbl = new QHBoxLayout (mWidgetBox );
+ QHBoxLayout *hbl = (QHBoxLayout *) mWidgetBox->layout();;
wdg = new AddresseeEditorWidget( mCore, true, mWidgetBox );
@@ -181,5 +182,5 @@ void ExtensionManager::createExtensionWidgets()
KLibFactory *factory = KLibLoader::self()->factory( (*it)->library().latin1() );
if ( !factory ) {
- kdDebug(5720) << "ExtensionManager::loadExtensions(): Factory creation failed" << endl;
+ //kdDebug(5720) << "ExtensionManager::loadExtensions(): Factory creation failed" << endl;
continue;
}
@@ -188,5 +189,5 @@ void ExtensionManager::createExtensionWidgets()
if ( !extensionFactory ) {
- kdDebug(5720) << "ExtensionManager::loadExtensions(): Cast failed" << endl;
+ //kdDebug(5720) << "ExtensionManager::loadExtensions(): Cast failed" << endl;
continue;
}