summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-03-17 18:50:52 +0100
committerSlávek Banko <[email protected]>2022-03-20 18:50:39 +0100
commit49e34b02b0bb609ce6e9ff1d2d96bdfcb03617d1 (patch)
treef8299219a274dedc710b0bbf0ff1be832d47f197 /kmymoney2/mymoney/storage/mymoneystoragesql.cpp
parenta553069ad068dcab541282df24dbe12591153af8 (diff)
downloadkmymoney-49e34b02b0bb609ce6e9ff1d2d96bdfcb03617d1.tar.gz
kmymoney-49e34b02b0bb609ce6e9ff1d2d96bdfcb03617d1.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 <[email protected]> (cherry picked from commit 5e6c401557744fe5f9765471605cc793939fee1f)
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneystoragesql.cpp')
-rw-r--r--kmymoney2/mymoney/storage/mymoneystoragesql.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
index 1b8e694..e5914bb 100644
--- a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
+++ b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
@@ -64,10 +64,10 @@ MyMoneySqlQuery::MyMoneySqlQuery (MyMoneyStorageSql* db)
}
bool MyMoneySqlQuery::exec () {
- TRACE(TQString("start sql - %1").arg(lastQuery()));
+ TRACE(TQString("start sql - %1").arg(lastQuery()).local8Bit());
bool rc = TQSqlQuery::exec();
TQString msg("end sql\n%1\n***Query returned %2, row count %3");
- TRACE (msg.arg(TQSqlQuery::executedQuery()).arg(rc).arg(numRowsAffected()));
+ TRACE(msg.arg(TQSqlQuery::executedQuery()).arg(rc).arg(numRowsAffected()).local8Bit());
//DBG (TQString("%1\n***Query returned %2, row count %3").arg(TQSqlQuery::executedQuery()).arg(rc).arg(size()));
return (rc);
}