summaryrefslogtreecommitdiffstats
path: root/libtdepim/designerfields.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/designerfields.cpp')
-rw-r--r--libtdepim/designerfields.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtdepim/designerfields.cpp b/libtdepim/designerfields.cpp
index 8e67e55d0..da7068bb7 100644
--- a/libtdepim/designerfields.cpp
+++ b/libtdepim/designerfields.cpp
@@ -83,7 +83,7 @@ void DesignerFields::initGUI( const TQString &uiFile )
if ( name.startsWith( "X_" ) ) {
name = name.mid( 2 );
- TQWidget *widget = TQT_TQWIDGET( it.current() );
+ TQWidget *widget = static_cast<TQWidget*>( it.current() );
if ( !name.isEmpty() )
mWidgets.insert( name, widget );