summaryrefslogtreecommitdiffstats
path: root/noatun/library/pref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/library/pref.cpp')
-rw-r--r--noatun/library/pref.cpp4
1 files changed, 2 insertions, 2 deletions
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<TQWidget *>(TQT_TQWIDGET(page->parent())) );
+ int index = pageIndex( static_cast<TQWidget *>(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<TQFrame*>(TQT_TQWIDGET(parent()));
+ TQFrame *page=static_cast<TQFrame*>(parent());
(new TQHBoxLayout(page))->addWidget(this);
}