Diffstat (limited to 'microkde/kresources/configpage.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kresources/configpage.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/microkde/kresources/configpage.cpp b/microkde/kresources/configpage.cpp index 0f1469d..8782ffd 100644 --- a/microkde/kresources/configpage.cpp +++ b/microkde/kresources/configpage.cpp @@ -162,10 +162,13 @@ void ConfigPage::load() //US KTrader::OfferList::ConstIterator it; //US for ( it = plugins.begin(); it != plugins.end(); ++it ) { //US QVariant tmp = (*it)->property( "X-KDE-ResourceFamily" ); //US QString family = tmp.toString(); - - QString family = "contact"; + QStringList families; + families << "contact" << "sync-contacts"; + for ( QStringList::Iterator it = families.begin(); it != families.end(); ++it ) + { + QString family = (*it); if ( !family.isEmpty() ) { if ( !mFamilyMap.contains( family ) ) { mCurrentManager = new Manager<Resource>( family ); if ( mCurrentManager ) { @@ -189,9 +192,9 @@ void ConfigPage::load() mInfoMap.append( info ); } } } -//US } + } mCurrentManager = 0; mFamilyCombo->insertStringList( mFamilyMap ); |