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

List:       kde-commits
Subject:    KDE/kdelibs/nepomuk/query
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2010-11-01 8:51:12
Message-ID: 20101101085112.9A4E6AC89B () svn ! kde ! org
[Download RAW message or body]

SVN commit 1191756 by trueg:

Support for the QString % operator for faster string concatenation

 M  +1 -1      queryparser.cpp  


--- trunk/KDE/kdelibs/nepomuk/query/queryparser.cpp #1191755:1191756
@@ -145,7 +145,7 @@
         // we can only do query term globbing for strings longer than 3 chars
         //
         if( !hadQuotes && globbing && s.length() > 3 && !s.endsWith('*') && !s.endsWith('?') )
-            return s + '*';
+            return QString(s + '*');
         else
             return s;
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

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