summaryrefslogtreecommitdiffstats
path: root/tdeio/tdeio/renamedlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio/tdeio/renamedlg.cpp')
-rw-r--r--tdeio/tdeio/renamedlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeio/tdeio/renamedlg.cpp b/tdeio/tdeio/renamedlg.cpp
index 9b1959110..c41c94a00 100644
--- a/tdeio/tdeio/renamedlg.cpp
+++ b/tdeio/tdeio/renamedlg.cpp
@@ -194,12 +194,12 @@ RenameDlg::RenameDlg(TQWidget *parent, const TQString & _caption,
lib->unload();
continue;
}
- TQObject *obj = factory->create( TQT_TQOBJECT(this), (*it)->name().latin1() );
+ TQObject *obj = factory->create( this, (*it)->name().latin1() );
if(!obj) {
lib->unload();
continue;
}
- RenameDlgPlugin *plugin = static_cast<RenameDlgPlugin *>(TQT_TQWIDGET(obj));
+ RenameDlgPlugin *plugin = static_cast<RenameDlgPlugin *>(static_cast<TQWidget*>(obj));
if(!plugin ){
delete obj;
continue;