[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/kdelirc
From: Benjamin Meyer <benjamin () csh ! rit ! edu>
Date: 2004-10-31 20:40:16
Message-ID: 20041031204016.A050716C45 () office ! kde ! org
[Download RAW message or body]
CVS commit by bmeyer:
!= "" -> !.isEmpty() conversions
M +2 -2 irkick/irkick.cpp 1.39
M +1 -1 kcmlirc/editmode.cpp 1.3
--- kdeutils/kdelirc/irkick/irkick.cpp #1.38:1.39
@@ -293,5 +293,5 @@ void IRKick::gotMessage(const QString &t
if(currentModes[theRemote].isNull()) currentModes[theRemote] = "";
IRAItList l = allActions.findByModeButton(Mode(theRemote, \
currentModes[theRemote]), theButton);
- if(currentModes[theRemote] != "")
+ if(!currentModes[theRemote].isEmpty())
l += allActions.findByModeButton(Mode(theRemote, ""), \
theButton); bool doBefore = true, doAfter = false;
@@ -315,5 +315,5 @@ void IRKick::gotMessage(const QString &t
if(!after && doAfter)
{ l = allActions.findByModeButton(Mode(theRemote, \
currentModes[theRemote]), theButton);
- if(currentModes[theRemote] != "")
+ if(!currentModes[theRemote].isEmpty())
l += \
allActions.findByModeButton(Mode(theRemote, ""), theButton); }
--- kdeutils/kdelirc/kcmlirc/editmode.cpp #1.2:1.3
@@ -33,5 +33,5 @@ void EditMode::slotClearIcon()
void EditMode::slotCheckText(const QString &newText)
{
- theOK->setEnabled(newText != "");
+ theOK->setEnabled(!newText.isEmpty());
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic