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
This commit is contained in:
Mark Liversedge
2023-05-25 09:33:43 +01:00
parent c97eac67a2
commit 47688ba754

View File

@@ -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",