QTfrontend/hwform.cpp
changeset 12220 a7c08e4748ff
parent 12217 a6cd48b8ef61
child 12241 0b5aa545e058
--- a/QTfrontend/hwform.cpp	Mon Apr 10 23:10:56 2017 +0200
+++ b/QTfrontend/hwform.cpp	Mon Apr 10 23:32:03 2017 +0200
@@ -411,6 +411,7 @@
 
 void HWForm::CustomizePalettes()
 {
+    // Scroll bar widget palette
     QList<QScrollBar *> allSBars = findChildren<QScrollBar *>();
     QPalette pal = palette();
     pal.setColor(QPalette::WindowText, QColor(0xff, 0xcc, 0x00));
@@ -420,6 +421,11 @@
 
     for (int i = 0; i < allSBars.size(); ++i)
         allSBars.at(i)->setPalette(pal);
+
+    // Set default hyperlink color
+    QPalette appPal = qApp->palette();
+    appPal.setColor(QPalette::Link, QColor(0xff, 0xff, 0x6e));
+    qApp->setPalette(appPal);
 }
 
 void HWForm::UpdateWeapons()