summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-06-26 10:23:24 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2020-06-26 08:50:36 +0000
commit20efd18ea64245abb20234fcb3f6efe6961c0f19 (patch)
tree50e2942acb889185aa778605c27661f959e79deb
parent95657030f691794f108e2779f5579340e42030c8 (diff)
Fix Qt 5.15 deprecation warnings
Change-Id: I9df420d6ad46249ce6f0091b159dc56a563e93b8 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--tests/auto/shared/perfparsertestclient.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/shared/perfparsertestclient.cpp b/tests/auto/shared/perfparsertestclient.cpp
index 366f154..9f51130 100644
--- a/tests/auto/shared/perfparsertestclient.cpp
+++ b/tests/auto/shared/perfparsertestclient.cpp
@@ -191,6 +191,8 @@ void PerfParserTestClient::extractTrace(QIODevice *device)
void PerfParserTestClient::convertToText(QTextStream &out) const
{
+ using Qt::dec;
+ using Qt::hex;
for (const auto &sample : samples()) {
out << string(command(sample.pid).name) << '\t'
<< sample.pid << '\t' << sample.tid << '\t'