Commit 2ffa31b8 authored by Eric Jiang's avatar Eric Jiang Committed by Julius Künzel
Browse files

Remove unused TimelineController:darkBackground()

darkBackground() was never used anywhere and doesn't work properly
anyways (compares int value() < float 0.5).
parent 9f548b84
Pipeline #200064 passed with stage
in 7 minutes and 22 seconds
......@@ -4412,12 +4412,6 @@ bool TimelineController::hasKeyframeAt(int cid, int frame)
return false;
bool TimelineController::darkBackground() const
KColorScheme scheme(QApplication::palette().currentColorGroup());
return scheme.background(KColorScheme::NormalBackground).color().value() < 0.5;
QColor TimelineController::videoColor() const
KColorScheme scheme(QApplication::palette().currentColorGroup());
......@@ -751,7 +751,6 @@ private:
int m_trimmingMainClip;
void initializePreview();
bool darkBackground() const;
int getMenuOrTimelinePos() const;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment