summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyobjectcontainer.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-18 12:45:32 +0100
commiteeae53f59df4d79d0399c2217a165ff2fab754db (patch)
tree768c8b3c67ed80698dcb4e66285ad673e9d3fb0f /kmymoney2/mymoney/mymoneyobjectcontainer.cpp
parenta6454b1658d325d6ff2d6ba6c349b772148798e0 (diff)
downloadkmymoney-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/mymoney/mymoneyobjectcontainer.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyobjectcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/mymoney/mymoneyobjectcontainer.cpp b/kmymoney2/mymoney/mymoneyobjectcontainer.cpp
index 63f4d1c..601bbb5 100644
--- a/kmymoney2/mymoney/mymoneyobjectcontainer.cpp
+++ b/kmymoney2/mymoney/mymoneyobjectcontainer.cpp
@@ -194,7 +194,7 @@ void MyMoneyObjectContainer::refresh(const TQString& id)
const MyMoneySchedule& s = m_storage->schedule(id);
m_map[id] = new MyMoneySchedule(s);
} else {
- tqWarning("Ooops, should preload an unknown object with id '%s'", id.data());
+ tqWarning(TQString("Ooops, should preload an unknown object with id '%1'").arg(id));
}
return;
}