From 93d6f7343390a7b5ae4d54540b89b361295ea5f7 Mon Sep 17 00:00:00 2001 From: kleuter Date: Tue, 5 Feb 2019 18:15:30 +0100 Subject: [PATCH] 5.12.1: 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.1/qtbase/src/plugins/platforms/cocoa/qcocoasystemsettings.mm b/5.12.1/qtbase/src/plugins/platforms/cocoa/qcocoasystemsettings.mm index aef2c6c..29377c1 100644 --- a/5.12.1/qtbase/src/plugins/platforms/cocoa/qcocoasystemsettings.mm +++ b/5.12.1/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; }