summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plined.cpp
diff options
context:
space:
mode:
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;