summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_window.cpp')
-rw-r--r--src/modules/objects/class_window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/objects/class_window.cpp b/src/modules/objects/class_window.cpp
index 41adaa5f..a03cd147 100644
--- a/src/modules/objects/class_window.cpp
+++ b/src/modules/objects/class_window.cpp
@@ -113,7 +113,7 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_window)
bool KviKvsObject_window::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
KviWindow * w = new KviKvsScriptWindowWindow(pContext->window()->frame(),name());
- setObject(TQT_TQOBJECT(w));
+ setObject(w);
pContext->window()->frame()->addWindow(w,false);
w->minimize(); // must be minimized before children are added, otherwise the focus handling goes nuts...