From 3d581777cdf9c0ff8dc7e757a2cd576f69e96b51 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 14 Dec 2023 21:19:13 +0900 Subject: Remove various '#define' strings - part 6 Signed-off-by: Michele Calgaro --- src/statusbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/statusbar.cpp') diff --git a/src/statusbar.cpp b/src/statusbar.cpp index 70838e3..ffb4def 100644 --- a/src/statusbar.cpp +++ b/src/statusbar.cpp @@ -64,7 +64,7 @@ void StatusBar::polish() { int h = 0; TQObjectList* list = queryList("TQWidget", 0, false, false); for(TQObject* o = list->first(); o; o = list->next()) { - int _h = TQT_TQWIDGET(o)->minimumSizeHint().height(); + int _h = static_cast(o)->minimumSizeHint().height(); if(_h > h) { h = _h; } @@ -73,7 +73,7 @@ void StatusBar::polish() { h -= 4; // hint from amarok, it's too big usually for(TQObject* o = list->first(); o; o = list->next()) { - TQT_TQWIDGET(o)->setFixedHeight(h); + static_cast(o)->setFixedHeight(h); } delete list; -- cgit v1.2.3