diff options
Diffstat (limited to 'kivio/kiviopart/ui/kivio_layer_panel.cpp')
-rw-r--r-- | kivio/kiviopart/ui/kivio_layer_panel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kivio/kiviopart/ui/kivio_layer_panel.cpp b/kivio/kiviopart/ui/kivio_layer_panel.cpp index 8e5d9fc4..f1cccd78 100644 --- a/kivio/kiviopart/ui/kivio_layer_panel.cpp +++ b/kivio/kiviopart/ui/kivio_layer_panel.cpp @@ -98,7 +98,7 @@ KivioLayerPanel::~KivioLayerPanel() bool KivioLayerPanel::eventFilter(TQObject* o, TQEvent* ev) { - if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(list) && (ev->type() == TQEvent::LayoutHint || ev->type() == TQEvent::Resize)) { + if (o == list && (ev->type() == TQEvent::LayoutHint || ev->type() == TQEvent::Resize)) { int s = list->width() - 2*(list->margin() + list->lineWidth()); s -= list->header()->sectionSize(0); s -= list->header()->sectionSize(1); |