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