summaryrefslogtreecommitdiffstats
path: root/kcalc/dlabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcalc/dlabel.cpp')
-rw-r--r--kcalc/dlabel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcalc/dlabel.cpp b/kcalc/dlabel.cpp
index 5591655..84f07e8 100644
--- a/kcalc/dlabel.cpp
+++ b/kcalc/dlabel.cpp
@@ -40,8 +40,8 @@ DispLogic::DispLogic(TQWidget *tqparent, const char *name,
{
KNumber::setDefaultFloatOutput(true);
KNumber::setDefaultFractionalInput(true);
- _back = KStdAction::undo(this, TQT_SLOT(history_back()), coll);
- _forward = KStdAction::redo(this, TQT_SLOT(history_forward()), coll);
+ _back = KStdAction::undo(TQT_TQOBJECT(this), TQT_SLOT(history_back()), coll);
+ _forward = KStdAction::redo(TQT_TQOBJECT(this), TQT_SLOT(history_forward()), coll);
_forward->setEnabled(false);
_back->setEnabled(false);