From 47688ba754049dcd2db26317b0a5b144c20afa43 Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Thu, 25 May 2023 09:33:43 +0100 Subject: [PATCH] Font fallback list use QString not char * .. since initialising the array from strings is not supported in c++11 and causes a compile time error on Windows --- src/Core/Settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Settings.cpp b/src/Core/Settings.cpp index dd609df4f..6b438a208 100644 --- a/src/Core/Settings.cpp +++ b/src/Core/Settings.cpp @@ -713,7 +713,7 @@ GSettings::upgradeAthlete(QString athlete) { } -static char *fontfamilyfallback[] = { +static QString fontfamilyfallback[] = { #ifdef Q_OS_LINUX // try pretty fonts first (you never know) "Noto Sans Display",