From f33db9154d1657624592a5f136cfe91d694fd622 Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Thu, 28 Sep 2017 14:44:04 +0200 Subject: [PATCH] Use midRef, suggested by clazy --- src/resultscallercalleepage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resultscallercalleepage.cpp b/src/resultscallercalleepage.cpp index ac3032a9..c3cc09b4 100644 --- a/src/resultscallercalleepage.cpp +++ b/src/resultscallercalleepage.cpp @@ -158,7 +158,7 @@ void ResultsCallerCalleePage::onSourceMapContextMenu(const QPoint &point) }; const auto fileName = location.leftRef(separator); - const int lineNumber = location.mid(separator+1).toInt(); + const int lineNumber = location.midRef(separator+1).toInt(); if (!showMenu(m_sysroot, fileName, lineNumber)) { showMenu(m_appPath, fileName, lineNumber); }