diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:44:08 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 20:22:59 +0900 |
commit | a7ea84c97639f635d798348432f355e3ac496a1d (patch) | |
tree | 34917a6af147ff19cc1f059ef72db53a196d4b61 /kivio/kiviopart/ui/kivio_layer_panel.cpp | |
parent | ca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d (diff) | |
download | koffice-a7ea84c97639f635d798348432f355e3ac496a1d.tar.gz koffice-a7ea84c97639f635d798348432f355e3ac496a1d.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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); |