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

List:       kde-commits
Subject:    kdeedu/kmplot/kmplot
From:       Anne-Marie Mahfouf <annma () kde ! org>
Date:       2004-10-27 21:17:05
Message-ID: 20041027211705.6EC8D16C2A () office ! kde ! org
[Download RAW message or body]

CVS commit by annma: 

prefer isNull()


  M +3 -3      kmplotio.cpp   1.40


--- kdeedu/kmplot/kmplot/kmplotio.cpp  #1.39:1.40
@@ -348,5 +348,5 @@ void KmPlotIO::parseFunction(  XParser *
 
         temp = n.attribute( "visible-deriv" );
-        if (temp != QString::null)
+        if (!temp.isNull())
         {
                 ufkt.f1_mode = temp.toInt();
@@ -362,5 +362,5 @@ void KmPlotIO::parseFunction(  XParser *
 
         temp = n.attribute( "visible-2nd-deriv" );
-        if (temp != QString::null)
+        if (!temp.isNull())
         {
                 ufkt.f2_mode = temp.toInt();
@@ -376,5 +376,5 @@ void KmPlotIO::parseFunction(  XParser *
 
         temp = n.attribute( "visible-integral" );
-        if (temp != QString::null)
+        if (!temp.isNull())
         {
                 ufkt.integral_mode = temp.toInt();


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

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