On Monday 18 June 2007, Laurent Montel wrote: > @@ -125,10 +124,11 @@ >  { >    if ( !mParsed ) >      const_cast( this )->runGpgConf( true ); > -  Q3DictIterator it( mComponents ); >    QStringList names; > -  for( ; it.current(); ++it ) > -    names.push_back( it.currentKey() ); > +  QList keylist = mComponents.uniqueKeys(); > +  foreach (QString key, keylist) { > +       names << key; > +  } >    return names; >  } >   QStringList == QList so this code should be simplified to return mComponents.uniqueKeys(); -- David Faure, faure@kde.org, dfaure@klaralvdalens-datakonsult.se KDE/KOffice developer, Qt consultancy projects Klarälvdalens Datakonsult AB, Platform-independent software solutions