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

List:       kde-commits
Subject:    kdegames/libkdegames
From:       Antonio Larrosa Jimenez <larrosa () kde ! org>
Date:       2003-02-25 12:51:11
[Download RAW message or body]

CVS commit by antlarr: 

Less comparisons to QString::null


  M +2 -2      kchatbase.cpp   1.21


--- kdegames/libkdegames/kchatbase.cpp  #1.20:1.21
@@ -481,5 +481,5 @@ void KChatBase::saveConfig(KConfig* conf
  conf->writeEntry("MaxMessages", maxItems());
 
- if (oldGroup != QString::null) {
+ if (!oldGroup.isNull()) {
         conf->setGroup(oldGroup);
  }
@@ -501,5 +501,5 @@ void KChatBase::readConfig(KConfig* conf
  setMaxItems(conf->readNumEntry("MaxMessages", -1));
 
- if (oldGroup != QString::null) {
+ if (!oldGroup.isNull()) {
         conf->setGroup(oldGroup);
  }


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

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