# HG changeset patch # User Chris Cannam # Date 1595336532 -3600 # Node ID cbbb411da9770b8d46af288c1e21eef55f31e5ce # Parent 199dbb3547d4c76f2faee8a1a16c875e13ac51c2# Parent 911330a28a7c7d939a0fe8b2c35cbb75cdf1033c Merge diff -r 911330a28a7c -r cbbb411da977 view/ViewManager.cpp --- a/view/ViewManager.cpp Thu Jul 02 15:37:43 2020 +0100 +++ b/view/ViewManager.cpp Tue Jul 21 14:02:12 2020 +0100 @@ -93,7 +93,7 @@ m_lightPalette.setColor(QPalette::Highlight, Qt::darkBlue); if (!OSReportsDarkThemeActive()) { int r, g, b; - if (OSQueryAccentColour(r, g, b)) { + if (OSQueryAccentColour(&r, &g, &b)) { m_lightPalette.setColor(QPalette::Highlight, QColor(r, g, b)); } } @@ -117,7 +117,7 @@ m_darkPalette.setColor(QPalette::Highlight, QColor(25, 130, 220)); if (OSReportsDarkThemeActive()) { int r, g, b; - if (OSQueryAccentColour(r, g, b)) { + if (OSQueryAccentColour(&r, &g, &b)) { m_darkPalette.setColor(QPalette::Highlight, QColor(r, g, b)); } }