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

George Staikos staikos at kde.org
Fri Feb 16 23:29:35 CET 2007


IIRC we want indexOf() here.

On 16-Feb-07, at 5:24 PM, Adam Treat wrote:

> SVN commit 634342 by treat:
>
> * QString api has changed
>
>
>  M  +1 -1      labelparser.cpp
>
>
> --- branches/work/kst/portto4/kst/src/libkstmath/labelparser.cpp  
> #634341:634342
> @@ -118,7 +118,7 @@
>
>
>  inline QColor parseColor(const QString& txt, int *skip) {
> -  const int end = txt.find('}');
> +  const int end = txt.lastIndexOf('}');
>    if (skip) {
>      *skip = end;
>    }
>

--
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/





More information about the Kst mailing list