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

List:       kde-commits
Subject:    kdenetwork/knewsticker/common
From:       Volker Augustin <volker.augustin () perfektionismus ! de>
Date:       2003-01-25 6:45:00
[Download RAW message or body]

CVS commit by augustin: 

Replace comparison to QString::null with a call to member function .isNull().


  M +2 -2      newsiconmgr.cpp   1.19


--- kdenetwork/knewsticker/common/newsiconmgr.cpp  #1.18:1.19
@@ -77,5 +77,5 @@ void NewsIconMgr::getIcon(const KURL &ur
 
         if (url.encodedPathAndQuery() == "/favicon.ico") {
-                if (favicon(url) == QString::null) {
+                if (favicon(url).isNull()) {
                         QByteArray data;
                         QDataStream ds(data, IO_WriteOnly);
@@ -124,5 +124,5 @@ void NewsIconMgr::slotGotIcon(bool isHos
                 url.setProtocol(QString::fromLatin1("http"));
         
-        if (iconName == QString::null)
+        if (iconName.isNull())
                 emit gotIcon(url, m_stdIcon);
         else


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

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