diff options
Diffstat (limited to 'app')
-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 f3397b0..e5e7bbb 100644 --- a/app/perfsymboltable.cpp +++ b/app/perfsymboltable.cpp @@ -366,7 +366,7 @@ QFileInfo PerfSymbolTable::findDebugInfoFile( // try again in /usr/lib/debug folder // some distros use for example /usr/lib/debug/lib (ubuntu) and some use /usr/lib/debug/usr/lib (fedora) - const auto usr = QString(QDir::separator() + QLatin1String("usr") + QDir::separator()); + const auto usr = QFileInfo(QDir::separator() + QLatin1String("usr") + QDir::separator()).path(); auto folderWithoutUsr = folder; folderWithoutUsr.replace(usr, QDir::separator()); |