summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports/objectinfotable.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-03-17 09:54:21 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-03-20 18:50:15 +0100
commita553069ad068dcab541282df24dbe12591153af8 (patch)
tree6e0b3fc71e22d976fe434da0deab1a1fe0117476 /kmymoney2/reports/objectinfotable.cpp
parentfebacdee5bf580932e1937f656b475762b48acd6 (diff)
downloadkmymoney-a553069ad068dcab541282df24dbe12591153af8.tar.gz
kmymoney-a553069ad068dcab541282df24dbe12591153af8.zip
Replace the use of the old API TQString::data().
The definition of -UTQT_NO_COMPAT is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit eeae53f59df4d79d0399c2217a165ff2fab754db)
Diffstat (limited to 'kmymoney2/reports/objectinfotable.cpp')
-rw-r--r--kmymoney2/reports/objectinfotable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/reports/objectinfotable.cpp b/kmymoney2/reports/objectinfotable.cpp
index 5f93729..75ed019 100644
--- a/kmymoney2/reports/objectinfotable.cpp
+++ b/kmymoney2/reports/objectinfotable.cpp
@@ -361,7 +361,7 @@ MyMoneyMoney ObjectInfoTable::investmentBalance(const MyMoneyAccount& acc)
val = val.convert(acc.fraction());
value += val;
} catch(MyMoneyException* e) {
- tqWarning("%s", (TQString("cannot convert stock balance of %1 to base currency: %2").arg(stock.name(), e->what())).data());
+ tqWarning(TQString("cannot convert stock balance of %1 to base currency: %2").arg(stock.name(), e->what()));
delete e;
}
}