diff options
-rw-r--r-- | src/shared/deviceskin/deviceskin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/deviceskin/deviceskin.cpp b/src/shared/deviceskin/deviceskin.cpp index 3d936cccd..58fe41295 100644 --- a/src/shared/deviceskin/deviceskin.cpp +++ b/src/shared/deviceskin/deviceskin.cpp @@ -175,7 +175,7 @@ bool DeviceSkinParameters::read(QTextStream &ts, ReadMode rm, QString *errorMess QString line = ts.readLine(); if ( line.isNull() ) break; - if ( line[0] != QLatin1Char('#') && !line.isEmpty() ) { + if (!line.isEmpty() && line.at(0) != u'#') { int eq = line.indexOf(QLatin1Char('=')); if ( eq >= 0 ) { const QString key = line.left(eq); |