fixed timerangelist removing bug

This commit is contained in:
itsmattkc
2020-11-16 01:33:53 +11:00
parent 2c086ce9fb
commit fe4e45e386
2 changed files with 18 additions and 15 deletions
+6 -2
View File
@@ -127,9 +127,12 @@ public:
return array_.last();
}
private:
void PrintTimeList();
const QVector<TimeRange>& internal_array() const
{
return array_;
}
private:
QVector<TimeRange> array_;
};
@@ -139,6 +142,7 @@ uint qHash(const TimeRange& r, uint seed);
OLIVE_NAMESPACE_EXIT
QDebug operator<<(QDebug debug, const OLIVE_NAMESPACE::TimeRange& r);
QDebug operator<<(QDebug debug, const OLIVE_NAMESPACE::TimeRangeList& r);
Q_DECLARE_METATYPE(OLIVE_NAMESPACE::TimeRange)