summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/ui/kivio_layer_panel.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:44:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 20:22:59 +0900
commita7ea84c97639f635d798348432f355e3ac496a1d (patch)
tree34917a6af147ff19cc1f059ef72db53a196d4b61 /kivio/kiviopart/ui/kivio_layer_panel.cpp
parentca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d (diff)
downloadkoffice-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.cpp2
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);