diff options
Diffstat (limited to 'src/modules/objects/class_button.cpp')
-rw-r--r-- | src/modules/objects/class_button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/objects/class_button.cpp b/src/modules/objects/class_button.cpp index d5d13717..2af3b0c6 100644 --- a/src/modules/objects/class_button.cpp +++ b/src/modules/objects/class_button.cpp @@ -57,7 +57,7 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_button) bool KviKvsObject_button::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams) { - setObject(TQT_TQOBJECT(new TQPushButton(parentScriptWidget(),name())),true); + setObject(new TQPushButton(parentScriptWidget(),name()),true); connect(widget(),TQT_SIGNAL(clicked()),this,TQT_SLOT(slotClicked())); return true; } |