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/widgets/register.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/widgets/register.cpp')
-rw-r--r-- | kmymoney2/widgets/register.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/widgets/register.cpp b/kmymoney2/widgets/register.cpp index afdf61a..5952227 100644 --- a/kmymoney2/widgets/register.cpp +++ b/kmymoney2/widgets/register.cpp @@ -637,7 +637,7 @@ void Register::dropEvent(TQDropEvent* event) tqDebug("Drop was ok"); KURL::List urls; KURLDrag::decode(event, urls); - tqDebug("List is '%s'", urls.toStringList().join(";").data()); + tqDebug(TQString("List is '%s'").arg(urls.toStringList().join(";"))); event->accept(); } } @@ -671,7 +671,7 @@ void Register::slotAutoColumnSizing(int section) } size += TQString("%1").arg((columnWidth(i) * 100) / w); } - tqDebug("size = %s", size.data()); + tqDebug(TQString("size = %1").arg(size)); m_account.setValue("kmm-ledger-column-width", size); } #endif |