changeset 1617:cbbb411da977

Merge
author Chris Cannam
date Tue, 21 Jul 2020 14:02:12 +0100
parents 199dbb3547d4 (diff) 911330a28a7c (current diff)
children f67e9e12e101
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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));
             }
         }