changeset 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 63da6a82c12d
children 10627b4f20dd
files main/SVSplash.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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(),