Adapt to QChar ctors being explicit in Qt6
This commit is contained in:
parent
840e6d400b
commit
1679452f41
1 changed files with 1 additions and 1 deletions
|
@ -864,7 +864,7 @@ void Options::reloadCompositingSettings(bool force)
|
||||||
}
|
}
|
||||||
|
|
||||||
char c = 0;
|
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())
|
if (!s.isEmpty())
|
||||||
c = s.at(0).toLatin1();
|
c = s.at(0).toLatin1();
|
||||||
if (c != 'a' && c != 'c' && c != 'p' && c != 'e')
|
if (c != 'a' && c != 'c' && c != 'p' && c != 'e')
|
||||||
|
|
Loading…
Reference in a new issue