summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plined.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-03 15:55:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-08 17:13:22 +0900
commit2cab1f3059038ab001f5185c29f0791c77aeeba1 (patch)
treee294a699a78e0aef2969216fc8fc1378b83b0064 /ksirc/puke/plined.cpp
parentb2cb25ce7dde70c48747856d22dfac03f27033e1 (diff)
downloadtdenetwork-2cab1f3059038ab001f5185c29f0791c77aeeba1.tar.gz
tdenetwork-2cab1f3059038ab001f5185c29f0791c77aeeba1.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 89969dcb2142d91b295c8d18cde46e22ef118dce)
Diffstat (limited to 'ksirc/puke/plined.cpp')
-rw-r--r--ksirc/puke/plined.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksirc/puke/plined.cpp b/ksirc/puke/plined.cpp
index 1817e0a9..bfedcb01 100644
--- a/ksirc/puke/plined.cpp
+++ b/ksirc/puke/plined.cpp
@@ -10,7 +10,7 @@ PLineEdit::createWidget(CreateArgs &ca)
{
PLineEdit *pw = new PLineEdit(ca.parent);
TQLineEdit *le;
- if(ca.parent != 0 && ca.parent->widget()->isWidgetType() == TRUE)
+ if(ca.parent != 0 && ca.parent->widget()->isWidgetType())
le = new TQLineEdit((TQWidget *) ca.parent->widget());
else
le = new TQLineEdit(0L);
@@ -103,7 +103,7 @@ void PLineEdit::messageHandler(int fd, PukeMessage *pm)
void PLineEdit::setWidget(TQObject *_le)
{
- if(_le != 0 && _le->inherits("TQLineEdit") == FALSE)
+ if(_le != 0 && !_le->inherits("TQLineEdit"))
{
errorInvalidSet(_le);
return;