diff options
Diffstat (limited to 'ksirc/puke/ppushbt.cpp')
-rw-r--r-- | ksirc/puke/ppushbt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ksirc/puke/ppushbt.cpp b/ksirc/puke/ppushbt.cpp index 346abcd3..b4c6477d 100644 --- a/ksirc/puke/ppushbt.cpp +++ b/ksirc/puke/ppushbt.cpp @@ -7,7 +7,7 @@ PPushButton::createWidget(CreateArgs &ca) { PPushButton *pb = new PPushButton(ca.parent); TQPushButton *qb; - if(ca.parent != 0 && ca.parent->widget()->isWidgetType() == TRUE) + if(ca.parent != 0 && ca.parent->widget()->isWidgetType()) qb = new TQPushButton((TQWidget *) ca.parent->widget()); else qb = new TQPushButton(0L); @@ -45,7 +45,7 @@ void PPushButton::messageHandler(int fd, PukeMessage *pm) void PPushButton::setWidget(TQObject *_qb) { - if(_qb != 0 && _qb->inherits("TQPushButton") == FALSE) + if(_qb != 0 && !_qb->inherits("TQPushButton")) { errorInvalidSet(_qb); return; |