Skip to content

Commit

Permalink
Remove ConfigHandler refs in static initializers (#1908)
Browse files Browse the repository at this point in the history
Signed-off-by: Haris Gušić <[email protected]>
  • Loading branch information
veracioux authored Sep 23, 2021
1 parent d142888 commit 7199fd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/widgets/capture/capturebutton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ void CaptureButton::setColor(const QColor& c)
setStyleSheet(styleSheet());
}

QColor CaptureButton::m_mainColor = ConfigHandler().uiColor();
QColor CaptureButton::m_mainColor;
2 changes: 1 addition & 1 deletion src/widgets/capture/capturetoolbutton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void CaptureToolButton::setColor(const QColor& c)
updateIcon();
}

QColor CaptureToolButton::m_mainColor = ConfigHandler().uiColor();
QColor CaptureToolButton::m_mainColor;

static std::map<CaptureToolButton::ButtonType, int> buttonTypeOrder
{
Expand Down

0 comments on commit 7199fd3

Please sign in to comment.