Mercurial > hg > svgui
changeset 1616:199dbb3547d4
This function is now C-linkage (with pointers) for simplicity after we pulled it optionally out into a separate DLL
author | Chris Cannam |
---|---|
date | Tue, 21 Jul 2020 14:01:58 +0100 |
parents | fe9a643b83bf |
children | cbbb411da977 |
files | view/ViewManager.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/view/ViewManager.cpp Thu Jun 18 13:45:11 2020 +0100 +++ b/view/ViewManager.cpp Tue Jul 21 14:01:58 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)); } }