summaryrefslogtreecommitdiffstats
path: root/src/qalculateexpressionedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qalculateexpressionedit.cpp')
-rw-r--r--src/qalculateexpressionedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qalculateexpressionedit.cpp b/src/qalculateexpressionedit.cpp
index 3eff804..0dfc5b9 100644
--- a/src/qalculateexpressionedit.cpp
+++ b/src/qalculateexpressionedit.cpp
@@ -413,7 +413,7 @@ void QalculateExpressionEdit::keyPressEvent(TQKeyEvent *e) {
switch(e->key()) {
case Key_Period: {
if(e->state() == Keypad) {
- insert(CALCULATOR->getDecimalPoint());
+ insert(CALCULATOR->getDecimalPoint().c_str());
e->accept();
return;
}
@@ -421,7 +421,7 @@ void QalculateExpressionEdit::keyPressEvent(TQKeyEvent *e) {
}
case Key_Comma: {
if(e->state() == Keypad) {
- insert(CALCULATOR->getDecimalPoint());
+ insert(CALCULATOR->getDecimalPoint().c_str());
e->accept();
return;
}