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

List:       kde-commits
Subject:    Re: branches/KDE/4.1/kdelibs/khtml/ecma
From:       André_Wöbbeking <Woebbeking () kde ! org>
Date:       2008-08-26 16:57:23
Message-ID: 200808261857.23776.Woebbeking () kde ! org
[Download RAW message or body]

On Tuesday 26 August 2008, Maks Orlovich wrote:
> SVN commit 852716 by orlovich:
>
> This is case insensitive...
>
>
>  M  +1 -1      kjs_html.cpp
>
>
> --- branches/KDE/4.1/kdelibs/khtml/ecma/kjs_html.cpp #852715:852716
> @@ -461,7 +461,7 @@
>        return;
>      }
>      case DesignMode:
> -        doc.setDesignMode((value->toString(exec).qstring()=="on"));
> +       
> doc.setDesignMode((value->toString(exec).qstring().toLower()=="on"));

If you need it fast you can use QString::compare() with 
Qt::CaseInsensitive.
[prev in list] [next in list] [prev in thread] [next in thread] 

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