summaryrefslogtreecommitdiffstats
path: root/src/qalculateexpressionedit.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-08-07 11:45:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-08-18 01:21:36 +0200
commit776ef1e137b59624bfb902cfa3c427be976caed2 (patch)
tree4987616f4974e476902179004bc471e2ae28dfa6 /src/qalculateexpressionedit.cpp
parent2b195ec5b27f1df53d81d29683d4a9f2810482fb (diff)
downloadqalculate-tde-776ef1e1.tar.gz
qalculate-tde-776ef1e1.zip
Conversion to the cmake building system.
Added a man page taken from the Debian packaging system. Changed the doc folder's layout. Signed-off-by: gregory guy <gregory-tde@laposte.net> CMake: Use tde_add_project_translations common macro. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2fe98299baff89c26b594704ea6baf6bd8336346)
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;
}