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

List:       kde-commits
Subject:    branches/kdevelop/3.4/buildtools/custommakefiles
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-03-11 21:22:22
Message-ID: 1173648142.864289.322.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 641580 by apaku:

Don't recognize foobar.cpp~ as project file when the pattern is *.cpp


 M  +1 -1      customprojectpart.cpp  


--- branches/kdevelop/3.4/buildtools/custommakefiles/customprojectpart.cpp #641579:641580
@@ -1433,7 +1433,7 @@
     QRegExp re("", true, true);
     for( QStringList::const_iterator it = types.begin(); it != types.end(); ++it )
     {
-        re.setPattern( *it );
+        re.setPattern( *it+"$" );
         if ( ( (*it).find("*") != -1 || (*it).find("?") != -1 ) && re.search( filename ) != -1 )
             return true;
         else if( filename.find( "/" ) != -1 && filename.find( *it ) != -1 )
[prev in list] [next in list] [prev in thread] [next in thread] 

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