summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/ui/kivio_layer_panel.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:44:08 +0900
committerMichele Calgaro <[email protected]>2023-08-18 21:44:59 +0900
commit1607518b8c749b4195c5ab11b405f77001526a6a (patch)
tree89b8bc00c6b9625f6a4f061594f57f457d18a174 /kivio/kiviopart/ui/kivio_layer_panel.cpp
parent64574118b7f71db7cb0a7f513a824dd51185b632 (diff)
downloadkoffice-1607518b8c749b4195c5ab11b405f77001526a6a.tar.gz
koffice-1607518b8c749b4195c5ab11b405f77001526a6a.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a7ea84c97639f635d798348432f355e3ac496a1d)
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);