summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/ptablevw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/ptablevw.cpp')
-rw-r--r--ksirc/puke/ptablevw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksirc/puke/ptablevw.cpp b/ksirc/puke/ptablevw.cpp
index eff40d44..9c191ab8 100644
--- a/ksirc/puke/ptablevw.cpp
+++ b/ksirc/puke/ptablevw.cpp
@@ -52,7 +52,7 @@ void PTableView::messageHandler(int fd, PukeMessage *pm)
void PTableView::setWidget(TQObject *_tbv)
{
- if(_tbv != 0 && _tbv->inherits("TQGridView") == FALSE)
+ if(_tbv != 0 && !_tbv->inherits("TQGridView"))
{
errorInvalidSet(_tbv);
return;