summaryrefslogtreecommitdiffstats
path: root/src/qalculateexportcsvdialog.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-08-16 20:24:39 +0200
committergregory guy <gregory-tde@laposte.net>2021-08-17 11:13:24 +0200
commitc9792a21add7beeb698ae43d71580e2943dac395 (patch)
tree2b16bbd88d0072d2cbd797a6f376d9ca45034cdf /src/qalculateexportcsvdialog.cpp
parent2fe98299baff89c26b594704ea6baf6bd8336346 (diff)
downloadqalculate-tde-c9792a21add7beeb698ae43d71580e2943dac395.tar.gz
qalculate-tde-c9792a21add7beeb698ae43d71580e2943dac395.zip
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/qalculateexportcsvdialog.cpp')
-rw-r--r--src/qalculateexportcsvdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qalculateexportcsvdialog.cpp b/src/qalculateexportcsvdialog.cpp
index a224ee8..7a2ffc6 100644
--- a/src/qalculateexportcsvdialog.cpp
+++ b/src/qalculateexportcsvdialog.cpp
@@ -152,7 +152,7 @@ void QalculateExportCSVDialog::slotOk() {
}
if(!CALCULATOR->exportCSV(*matrix_struct, str.ascii(), delimiter)) {
TQString error_str;
- error_str.sprintf(i18n("Could not export to file \n%s"), str.ascii());
+ error_str.sprintf(i18n("Could not export to file \n%s").utf8(), str.ascii());
KMessageBox::error(this, error_str);
reject();
}