diff main/SVSplash.cpp @ 2085:82cac4a6c581

Force black text for version number on splash screen - otherwise it disappears in macOS dark mode
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 09 Nov 2018 15:05:17 +0000
parents 893f556cd5c9
children eb7f4579e5cc
line wrap: on
line diff
--- a/main/SVSplash.cpp	Tue Nov 06 15:43:12 2018 +0000
+++ b/main/SVSplash.cpp	Fri Nov 09 15:05:17 2018 +0000
@@ -91,6 +91,7 @@
 {
     painter->drawPixmap(rect(), *m_pixmap, m_pixmap->rect());
     QString text = QString("v%1").arg(SV_VERSION);
+    painter->setPen(Qt::black);
     painter->drawText
         (width() - painter->fontMetrics().width(text) - (width()/50),
          (width()/70) + painter->fontMetrics().ascent(),