start moving core frameworks to external libraries
This commit is contained in:
@@ -131,7 +131,7 @@ void ResizableTimelineScrollBar::paintEvent(QPaintEvent *event)
|
||||
for (auto it=markers_->cbegin(); it!=markers_->cend(); it++) {
|
||||
TimelineMarker* marker = *it;
|
||||
|
||||
QColor marker_color = ColorCoding::GetColor(marker->color()).toQColor();
|
||||
QColor marker_color = QtUtils::toQColor(ColorCoding::GetColor(marker->color()));
|
||||
int64_t in = qRound64(ratio * TimeToScene(marker->time().in()));
|
||||
int64_t out = qRound64(ratio * TimeToScene(marker->time().out()));
|
||||
int64_t length = qMax(int64_t(1), out-in);
|
||||
|
||||
Reference in New Issue
Block a user