diff --git a/lib/ColorScheme.cpp b/lib/ColorScheme.cpp index f749a83c..c2156979 100644 --- a/lib/ColorScheme.cpp +++ b/lib/ColorScheme.cpp @@ -339,7 +339,7 @@ void ColorScheme::readColorEntry(QSettings * s , int index) bool ok = false; // XXX: Undocumented(?) QSettings behavior: values with commas are parsed // as QStringList and others QString - if (colorValue.typeId() == QVariant::StringList) + if (colorValue.typeId() == QMetaType::QStringList) { QStringList rgbList = colorValue.toStringList(); colorStr = rgbList.join(QLatin1Char(','));