diff options
Diffstat (limited to 'src/plugins/qmldesigner/components/timelineeditor/timelineselectiontool.cpp')
-rw-r--r-- | src/plugins/qmldesigner/components/timelineeditor/timelineselectiontool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/timelineeditor/timelineselectiontool.cpp b/src/plugins/qmldesigner/components/timelineeditor/timelineselectiontool.cpp index 68aeefcd23..230ab401a7 100644 --- a/src/plugins/qmldesigner/components/timelineeditor/timelineselectiontool.cpp +++ b/src/plugins/qmldesigner/components/timelineeditor/timelineselectiontool.cpp @@ -169,7 +169,7 @@ void TimelineSelectionTool::aboutToSelect(SelectionMode mode, QList<QGraphicsIte void TimelineSelectionTool::commitSelection(SelectionMode mode) { - if (m_playbackLoopTimeSteps.count()) + if (m_playbackLoopTimeSteps.size()) qobject_cast<TimelineGraphicsScene *>(scene())->layoutRuler()->extendPlaybackLoop(m_playbackLoopTimeSteps, mode == SelectionMode::Toggle); // TODO: Highlighting items with selection tool is set or added to loop range. Select shortcut for this QDS-4941 scene()->selectKeyframes(mode, m_aboutToSelectBuffer); |