summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pframe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/pframe.cpp')
-rw-r--r--ksirc/puke/pframe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksirc/puke/pframe.cpp b/ksirc/puke/pframe.cpp
index d0dc79e3..ed58d5a7 100644
--- a/ksirc/puke/pframe.cpp
+++ b/ksirc/puke/pframe.cpp
@@ -63,7 +63,7 @@ void PFrame::messageHandler(int fd, PukeMessage *pm)
void PFrame::setWidget(TQObject *w)
{
- if(w != 0 && w->inherits("TQFrame") == FALSE)
+ if(w != 0 && w->inherits(TQFRAME_OBJECT_NAME_STRING) == FALSE)
{
errorInvalidSet(w);
return;