Fix linting issues

remotes/origin/0.7.0-dev
Nicolas Werner 5 years ago
parent 241c0236fc
commit ec6953d0c0
  1. 2
      src/timeline2/TimelineModel.cpp
  2. 1
      src/timeline2/TimelineModel.h

@ -610,7 +610,7 @@ void
TimelineModel::setCurrentIndex(int index) TimelineModel::setCurrentIndex(int index)
{ {
auto oldIndex = idToIndex(currentId); auto oldIndex = idToIndex(currentId);
currentId = indexToId(index); currentId = indexToId(index);
emit currentIndexChanged(index); emit currentIndexChanged(index);
if (oldIndex < index) { if (oldIndex < index) {

@ -1,6 +1,5 @@
#pragma once #pragma once
#include <QAbstractListModel> #include <QAbstractListModel>
#include <QColor> #include <QColor>
#include <QDate> #include <QDate>

Loading…
Cancel
Save