[Kst] branches/work/kst/portto4/kst/src/libkstmath

Adam Treat treat at kde.org
Fri Feb 16 23:50:38 CET 2007


SVN commit 634344 by treat:

* Should be index() as per george


 M  +1 -1      labelparser.cpp  


--- branches/work/kst/portto4/kst/src/libkstmath/labelparser.cpp #634343:634344
@@ -118,7 +118,7 @@
 
 
 inline QColor parseColor(const QString& txt, int *skip) {
-  const int end = txt.lastIndexOf('}');
+  const int end = txt.index('}');
   if (skip) {
     *skip = end;
   }


More information about the Kst mailing list