summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_toolbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_toolbutton.cpp')
-rw-r--r--src/modules/objects/class_toolbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/objects/class_toolbutton.cpp b/src/modules/objects/class_toolbutton.cpp
index 906dd9ed..e4d7ecf8 100644
--- a/src/modules/objects/class_toolbutton.cpp
+++ b/src/modules/objects/class_toolbutton.cpp
@@ -129,7 +129,7 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_toolbutton)
bool KviKvsObject_toolbutton::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
- setObject(TQT_TQOBJECT(new TQToolButton(parentScriptWidget(), name())), true);
+ setObject(new TQToolButton(parentScriptWidget(), name()), true);
connect(widget(),TQT_SIGNAL(clicked()),this,TQT_SLOT(slotClicked()));
return true;
}