summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/ppushbt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/ppushbt.cpp')
-rw-r--r--ksirc/puke/ppushbt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksirc/puke/ppushbt.cpp b/ksirc/puke/ppushbt.cpp
index f006fbd2..346abcd3 100644
--- a/ksirc/puke/ppushbt.cpp
+++ b/ksirc/puke/ppushbt.cpp
@@ -45,7 +45,7 @@ void PPushButton::messageHandler(int fd, PukeMessage *pm)
void PPushButton::setWidget(TQObject *_qb)
{
- if(_qb != 0 && _qb->inherits(TQPUSHBUTTON_OBJECT_NAME_STRING) == FALSE)
+ if(_qb != 0 && _qb->inherits("TQPushButton") == FALSE)
{
errorInvalidSet(_qb);
return;