[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/kdevelop/3.4/buildtools/qmake
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2006-10-16 21:44:06
Message-ID: 1161035046.625506.22607.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 596208 by apaku:

fix removal of libs in the config dlg.


 M  +3 -3      qmakescopeitem.cpp  


--- branches/kdevelop/3.4/buildtools/qmake/qmakescopeitem.cpp #596207:596208
@@ -661,8 +661,8 @@
 
 void QMakeScopeItem::updateVariableValues( const QString& var, QStringList values )
 {
-    QStringList curVal = scope->variableValues( var );
-    for ( QStringList::iterator it = curVal.begin() ; it != curVal.end() ; ++it )
+    QStringList curValues = scope->variableValues( var );
+    for ( QStringList::iterator it = curValues.begin() ; it != curValues.end() ; ++it )
     {
         if ( !values.contains( *it ) )
         {
@@ -670,7 +670,7 @@
             values.remove( *it );
         }
     }
-    scope->addToPlusOp( var, curVal + values );
+    scope->addToPlusOp( var, values );
 }
 
 QMakeScopeItem* QMakeScopeItem::projectFileItem()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic