summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_dialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-08 13:26:11 +0900
committerMichele Calgaro <[email protected]>2023-12-09 15:45:21 +0900
commit35d1f217751ee0b9b0e04648f288739ef56f0e67 (patch)
tree805f33481b8fa33784668f671bf4a15fe02a82dc /src/modules/objects/class_dialog.cpp
parent039fcfa844aec2a1ce7a2ce97671504e00ec4c5a (diff)
downloadkvirc-35d1f217751ee0b9b0e04648f288739ef56f0e67.tar.gz
kvirc-35d1f217751ee0b9b0e04648f288739ef56f0e67.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit eab2995851748c44d333fe168a1c141ccee193ab)
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)