This should fix it.
if not, it's a start and people that have windows should look at this patch
to see how it can be fixed.
From 1ad0a17232ff609887d0efb7d6f1294ef0a439d8 Mon Sep 17 00:00:00 2001
From: Tomaz Canabrava <[email protected]>
Date: Mon, 5 Oct 2015 18:20:19 -0300
Subject: [PATCH 2/2] Do not use White font on Windows 7

It's ugly.

Signed-off-by: Tomaz Canabrava <[email protected]>
---
 qt-ui/modeldelegates.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/qt-ui/modeldelegates.cpp b/qt-ui/modeldelegates.cpp
index a2dc7c0..3ef2cce 100644
--- a/qt-ui/modeldelegates.cpp
+++ b/qt-ui/modeldelegates.cpp
@@ -558,7 +558,11 @@ print_part:
 
 	fontBigger.setPointSize(fontBigger.pointSize() + 1);
 	fontBigger.setBold(true);
-	QPen textPen = QPen(option.state & QStyle::State_Selected ? option.palette.brightText() : option.palette.text(), 1);
+	QPen textPen;
+	if(QSysInfo::windowsVersion() == QSysInfo::WV_WINDOWS7)
+		textPen = QPen(option.palette.text(), 1);
+	else
+		textPen = QPen(option.state & QStyle::State_Selected ? option.palette.brightText() : option.palette.text(), 1);
 
 	initStyleOption(&opt, index);
 	opt.text = QString();
-- 
2.6.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to