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

List:       kde-commits
Subject:    KDE/kdelibs/kutils/kemoticons/providers/pidgin
From:       Carlo Segato <brandon.ml () gmail ! com>
Date:       2009-01-08 23:37:34
Message-ID: 1231457854.147386.13056.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 907953 by segato:

use a qregexp to split the line since we can have tabs instead of spaces
BUG: 174259


 M  +1 -1      pidgin_emoticons.cpp  


--- trunk/KDE/kdelibs/kutils/kemoticons/providers/pidgin/pidgin_emoticons.cpp #907952:907953
@@ -167,7 +167,7 @@
             continue;
         }
 
-        QStringList splitted = line.split(' ');
+        QStringList splitted = line.split(QRegExp("\\s+"));
         QString emo;
         int i = 1;
         if (splitted.at(0) == "!") {
[prev in list] [next in list] [prev in thread] [next in thread] 

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