diff options
Diffstat (limited to 'tdeui/kpanelapplet.cpp')
-rw-r--r-- | tdeui/kpanelapplet.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/kpanelapplet.cpp b/tdeui/kpanelapplet.cpp index 64a190d77..22ca4428c 100644 --- a/tdeui/kpanelapplet.cpp +++ b/tdeui/kpanelapplet.cpp @@ -146,15 +146,15 @@ void KPanelApplet::watchForFocus(TQWidget* widget, bool watch) if (watch) { - if (d->watchedForFocus.find(TQT_TQOBJECT(widget)) == -1) + if (d->watchedForFocus.find(widget) == -1) { - d->watchedForFocus.append(TQT_TQOBJECT(widget)); + d->watchedForFocus.append(widget); widget->installEventFilter(this); } } - else if (d->watchedForFocus.find(TQT_TQOBJECT(widget)) != -1) + else if (d->watchedForFocus.find(widget) != -1) { - d->watchedForFocus.remove(TQT_TQOBJECT(widget)); + d->watchedForFocus.remove(widget); widget->removeEventFilter(this); } } |