summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_dialog.cpp')
-rw-r--r--src/modules/objects/class_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/objects/class_dialog.cpp b/src/modules/objects/class_dialog.cpp
index 366cf5f0..71a69262 100644
--- a/src/modules/objects/class_dialog.cpp
+++ b/src/modules/objects/class_dialog.cpp
@@ -68,11 +68,11 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_dialog)
bool KviKvsObject_dialog::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
- TQWidget * w = TQT_TQWIDGET(g_pApp->activeModalWidget());
+ TQWidget * w = g_pApp->activeModalWidget();
if(!w)w = g_pFrame;
TQDialog * d = new TQDialog(parentScriptWidget() ? parentScriptWidget() : w,name());
//d->setModal(true);
- setObject(TQT_TQOBJECT(d));
+ setObject(d);
return true;
}
bool KviKvsObject_dialog::functionSetModal(KviKvsObjectFunctionCall *c)