summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2018-05-29 14:59:45 +0200
committerChristian Stenger <christian.stenger@qt.io>2018-05-29 13:21:17 +0000
commita984bbb6c805cdac3ab3b5e9787b2c587c7e3a9c (patch)
tree09e72b0297f01c7cd14c82ac7b02b993b18c4f3c
parent9e4fca7562b0cda2616adb4c1649460f87a3bf8f (diff)
Fix build with namespaced Qtv4.7.0-beta1
Change-Id: I396cbebf0a5a99ec0928e54ed34990c1e674946b Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--app/perfsymboltable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/perfsymboltable.cpp b/app/perfsymboltable.cpp
index c5b3c6b..986a463 100644
--- a/app/perfsymboltable.cpp
+++ b/app/perfsymboltable.cpp
@@ -292,7 +292,7 @@ QFileInfo PerfSymbolTable::findFile(const char *path, const QString &fileName,
void PerfSymbolTable::registerElf(const PerfRecordMmap &mmap, const QByteArray &buildId)
{
- QLatin1String filePath(mmap.filename());
+ QString filePath(mmap.filename());
// special regions, such as [heap], [vdso], [stack], ... as well as //anon
const bool isSpecialRegion = (filePath.startsWith('[') && filePath.endsWith(']'))
|| filePath.startsWith(QLatin1String("/dev/"))