Fix compilation problems on Win32 Platform:

- double value name in one scope
This commit is contained in:
abd 2008-10-07 13:24:58 +00:00
parent bd7c31d320
commit 23e3b1b978

View File

@ -50,8 +50,8 @@ static bool isEntryLess( const QString& e1, const QString& e2 )
static QStringList objectsToNames( const QMap<QString, QString>& objects )
{
QStringList entries;
for ( QMap<QString, QString>::ConstIterator it = objects.begin(); it != objects.end(); ++it ) {
QString entry = it.key();
for ( QMap<QString, QString>::ConstIterator cit = objects.begin(); cit != objects.end(); ++cit ) {
QString entry = cit.key();
QStringList::Iterator it;
bool added = false;
for ( it = entries.begin(); it != entries.end() && !added; ++it ) {