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')