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-20 18:50:15 +0100 |
commit | a553069ad068dcab541282df24dbe12591153af8 (patch) | |
tree | 6e0b3fc71e22d976fe434da0deab1a1fe0117476 /kmymoney2/mymoney/mymoneyscheduled.cpp | |
parent | febacdee5bf580932e1937f656b475762b48acd6 (diff) | |
download | kmymoney-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/mymoney/mymoneyscheduled.cpp')
-rw-r--r-- | kmymoney2/mymoney/mymoneyscheduled.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/mymoney/mymoneyscheduled.cpp b/kmymoney2/mymoney/mymoneyscheduled.cpp index 3891d6b..53e7d77 100644 --- a/kmymoney2/mymoney/mymoneyscheduled.cpp +++ b/kmymoney2/mymoney/mymoneyscheduled.cpp @@ -623,7 +623,7 @@ MyMoneyAccount MyMoneySchedule::account(int cnt) const if(!cnt) return acc; } catch(MyMoneyException *e) { - tqWarning("Schedule '%s' references unknown account '%s'", id().data(), (*it).accountId().data()); + tqWarning(TQString("Schedule '%1' references unknown account '%2'").arg(id()).arg((*it).accountId())); delete e; return MyMoneyAccount(); } |