From kde-commits Wed Oct 27 21:17:05 2004 From: Anne-Marie Mahfouf Date: Wed, 27 Oct 2004 21:17:05 +0000 To: kde-commits Subject: kdeedu/kmplot/kmplot Message-Id: <20041027211705.6EC8D16C2A () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=109891184223316 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();