diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-03-17 09:54:21 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-03-18 12:45:32 +0100 |
commit | eeae53f59df4d79d0399c2217a165ff2fab754db (patch) | |
tree | 768c8b3c67ed80698dcb4e66285ad673e9d3fb0f /kmymoney2/reports/objectinfotable.cpp | |
parent | a6454b1658d325d6ff2d6ba6c349b772148798e0 (diff) | |
download | kmymoney-eeae53f59df4d79d0399c2217a165ff2fab754db.tar.gz kmymoney-eeae53f59df4d79d0399c2217a165ff2fab754db.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>
Diffstat (limited to 'kmymoney2/reports/objectinfotable.cpp')
-rw-r--r-- | kmymoney2/reports/objectinfotable.cpp | 2 |
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; } } |