summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_spinbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_spinbox.cpp')
-rw-r--r--src/modules/objects/class_spinbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/objects/class_spinbox.cpp b/src/modules/objects/class_spinbox.cpp
index 01f69779..09fc4efd 100644
--- a/src/modules/objects/class_spinbox.cpp
+++ b/src/modules/objects/class_spinbox.cpp
@@ -132,7 +132,7 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_spinbox)
bool KviKvsObject_spinbox::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
- setObject(TQT_TQOBJECT(new TQSpinBox(parentScriptWidget(), name())), true);
+ setObject(new TQSpinBox(parentScriptWidget(), name()), true);
connect(widget(),TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(valueChanged(int)));
return true;
}