From dd6db75d8ab2821740e4ce6c66c9de91252138ea Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 21 Dec 2023 11:50:24 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro --- noatun/library/pref.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'noatun/library/pref.cpp') diff --git a/noatun/library/pref.cpp b/noatun/library/pref.cpp index 9ed882c5..a0d1bbcc 100644 --- a/noatun/library/pref.cpp +++ b/noatun/library/pref.cpp @@ -32,7 +32,7 @@ void NoatunPreferences::show() void NoatunPreferences::show(CModule *page) { - int index = pageIndex( static_cast(TQT_TQWIDGET(page->parent())) ); + int index = pageIndex( static_cast(page->parent()) ); if (index != -1) showPage(index); show(); @@ -65,7 +65,7 @@ CModule::CModule(const TQString &name, const TQString &description, const TQStri napp->preferencesBox()->add(this); - TQFrame *page=static_cast(TQT_TQWIDGET(parent())); + TQFrame *page=static_cast(parent()); (new TQHBoxLayout(page))->addWidget(this); } -- cgit v1.2.3