[Bug 73420] One can add the same file twice in QMake Manager

Alexander Dymo cloudtemple at mksat.net
Sat Jul 17 22:36:05 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=73420      
cloudtemple mksat net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From cloudtemple mksat net  2004-07-17 22:34 -------
CVS commit by dymo: 

Do not allow to add the same file twice.
CCMAIL: 73420-done bugs kde org


  M +2 -1      trollprojectpart.cpp   1.76


--- kdevelop/buildtools/qmake/trollprojectpart.cpp  #1.75:1.76
 @ -383,4 +383,5  @ void TrollProjectPart::addFiles ( const 
     for (QStringList::iterator it = files.begin(); it != files.end(); ++it)
 //        if (!(*it).contains(projectDirectory()))
+        if (!isProjectFile(projectDirectory() + "/" + (*it)))
         *it = projectDirectory() + "/" + (*it);




More information about the KDevelop-devel mailing list