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

List:       kde-commits
Subject:    kdebase/kcontrol/kfontinst
From:       Benjamin Meyer <benjamin () csh ! rit ! edu>
Date:       2004-11-04 16:48:17
Message-ID: 20041104164817.635C116CCC () office ! kde ! org
[Download RAW message or body]

CVS commit by bmeyer: 

QString::null -> .isNull() conversions


  M +3 -3      kio/KioFonts.cpp   1.40
  M +2 -2      lib/Encodings.cpp   1.5


--- kdebase/kcontrol/kfontinst/kio/KioFonts.cpp  #1.39:1.40
@@ -837,5 +837,5 @@ void CKioFonts::put(const KURL &u, int m
 
         // Need to check can get root passwd before start download...
-        if(QString::null!=passwd)
+        if(!passwd.isNull())
         {
             // Now download to a temporary file...
@@ -2010,5 +2010,5 @@ bool CKioFonts::doRootCmd(const char *cm
     KFI_DBUG << "doRootCmd " << cmd << endl;
 
-    if(QString::null!=passwd)
+    if(!passwd.isNull())
     {
         SuProcess proc(SYS_USER);

--- kdebase/kcontrol/kfontinst/lib/Encodings.cpp  #1.4:1.5
@@ -745,5 +745,5 @@ bool CEncodings::createEncodingsDotDir(c
                 link(CMisc::linkedTo(destFile));
 
-        if(QString::null!=link && sysFile==link)  // Already linked!
+        if(!link.isNull() && sysFile==link)  // Already linked!
             status=true;
         else


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

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