summaryrefslogtreecommitdiffstats
path: root/src/qalculateexpressionedit.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-08-07 11:45:47 +0200
committergregory guy <gregory-tde@laposte.net>2021-08-17 11:12:56 +0200
commit2fe98299baff89c26b594704ea6baf6bd8336346 (patch)
tree66a3169b6f1af61b0e49bb1a258e619171295e2a /src/qalculateexpressionedit.cpp
parentf5cb5376886b7394cfbc7d84acac65f5181affcd (diff)
downloadqalculate-tde-2fe98299baff89c26b594704ea6baf6bd8336346.tar.gz
qalculate-tde-2fe98299baff89c26b594704ea6baf6bd8336346.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>
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;
}