From 1679452f41973cca0dddc9a7d8fbf2957853d59d Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Wed, 9 Mar 2022 17:43:47 +0100 Subject: [PATCH] Adapt to QChar ctors being explicit in Qt6 --- src/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.cpp b/src/options.cpp index ba2f3005ac..32ff6af472 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -864,7 +864,7 @@ void Options::reloadCompositingSettings(bool force) } char c = 0; - const QString s = config.readEntry("GLPreferBufferSwap", QString(Options::defaultGlPreferBufferSwap())); + const QString s = config.readEntry("GLPreferBufferSwap", QString(QLatin1Char(Options::defaultGlPreferBufferSwap()))); if (!s.isEmpty()) c = s.at(0).toLatin1(); if (c != 'a' && c != 'c' && c != 'p' && c != 'e')