Skip to content

Commit

Permalink
Use midRef, suggested by clazy
Browse files Browse the repository at this point in the history
  • Loading branch information
milianw committed Sep 28, 2017
1 parent 65181ce commit f33db91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resultscallercalleepage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f33db91

Please sign in to comment.