diff options
-rw-r--r-- | app/perfsymboltable.cpp | 2 |
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/")) |