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 11d504c5..26051757 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_OBJECT_NAME_STRING) == FALSE)
+ if(w != 0 && w->inherits("TQFrame") == FALSE)
{
errorInvalidSet(w);
return;