Summary: | "Wrong" product kcmkabldapconfig in Report Bug wizard | ||
---|---|---|---|
Product: | kab3 | Reporter: | Malte S. Stretz <mss> |
Component: | general | Assignee: | Tobias Koenig <tokoe> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Malte S. Stretz
2004-01-17 19:56:54 UTC
Subject: kdepim/kaddressbook CVS commit by tokoe: Fixed 2 bugs: - the changes in the settings are applyed to the program again - the KGlobal::activeInstance() isn't overwritten, that solves #72844 CCMAIL:72844-done@bugs.kde.org M +7 -11 kabcore.cpp 1.66 M +0 -2 kabcore.h 1.29 --- kdepim/kaddressbook/kabcore.cpp #1.65:1.66 @@ -78,6 +78,5 @@ KABCore::KABCore( KXMLGUIClient *client, : KAB::Core( client, parent, name ), mStatusBar( 0 ), mViewManager( 0 ), mExtensionManager( 0 ), mCategorySelectDialog( 0 ), mCategoryEditDialog( 0 ), - mConfigureDialog( 0 ), mLdapSearchDialog( 0 ), mReadWrite( readWrite ), - mModified( false ) + mLdapSearchDialog( 0 ), mReadWrite( readWrite ), mModified( false ) { mWidget = new QWidget( parent, name ); @@ -820,15 +819,12 @@ void KABCore::configure() saveSettings(); - if ( !mConfigureDialog ) { - mConfigureDialog = new KCMultiDialog( mWidget ); - - connect( mConfigureDialog, SIGNAL( configCommitted() ), + KCMultiDialog dlg( mWidget, "", true ); + connect( &dlg, SIGNAL( configCommitted() ), this, SLOT( configurationChanged() ) ); - mConfigureDialog->addModule( "kabconfig.desktop" ); - mConfigureDialog->addModule( "kabldapconfig.desktop" ); - } + dlg.addModule( "kabconfig.desktop" ); + dlg.addModule( "kabldapconfig.desktop" ); - mConfigureDialog->show(); + dlg.exec(); } --- kdepim/kaddressbook/kabcore.h #1.28:1.29 @@ -47,5 +47,4 @@ class KAction; class KActionCollection; class KConfig; -class KCMultiDialog; class KToggleAction; class KXMLGUIClient; @@ -369,5 +368,4 @@ class KABCore : public KAB::Core QSplitter *mExtensionBarSplitter; - KCMultiDialog *mConfigureDialog; LDAPSearchDialog *mLdapSearchDialog; QDict<AddresseeEditorDialog> mEditorDict; The development of the old KAddressBook will be discontinued for KDE 4.4. Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product. |