From 8eaf90752e933169f2441b26dfd31bf8455a506e Mon Sep 17 00:00:00 2001 From: kleuter Date: Sat, 29 Dec 2018 18:23:50 +0100 Subject: [PATCH] fix for https://bugreports.qt.io/browse/QTBUG-71740 --- .../qtbase/src/plugins/platforms/cocoa/qcocoasystemsettings.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/5.12.0/qtbase/src/plugins/platforms/cocoa/qcocoasystemsettings.mm b/5.12.0/qtbase/src/plugins/platforms/cocoa/qcocoasystemsettings.mm index aef2c6c..29377c1 100644 --- a/5.12.0/qtbase/src/plugins/platforms/cocoa/qcocoasystemsettings.mm +++ b/5.12.0/qtbase/src/plugins/platforms/cocoa/qcocoasystemsettings.mm @@ -111,6 +111,9 @@ QPalette * qt_mac_createSystemPalette() palette->setBrush(QPalette::ToolTipBase, qt_mac_toQBrush([NSColor controlColor])); + // fix for https://bugreports.qt.io/browse/QTBUG-71740 + palette->setColor(QPalette::Normal, QPalette::Link, qt_mac_toQColor([NSColor linkColor])); + return palette; }