forked from qt-creator/qt-creator
QmlProfiler: Remove pointless second check for endTime
If the selected events aren't in the specified time range the selection should be fixed. Change-Id: I8cb6b57054888433b5ebf66fce3b479b3266f86e Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -347,9 +347,6 @@ void TimelineRenderer::manageHovered(int mouseX, int mouseY)
|
||||
// find if we are in the right column
|
||||
int itemRow;
|
||||
for (int i=eventTo; i>=eventFrom; --i) {
|
||||
if (ceil(m_profilerModelProxy->getEndTime(modelIndex, i)*m_spacing) < floor(time*m_spacing))
|
||||
continue;
|
||||
|
||||
itemRow = modelRowStart + m_profilerModelProxy->getEventRow(modelIndex, i);
|
||||
|
||||
if (itemRow == row) {
|
||||
|
||||
Reference in New Issue
Block a user