Skip to content

Commit

Permalink
Drop deprecated QVariant::StringList
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-pereira committed May 7, 2024
1 parent 36ba355 commit c560b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ColorScheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(','));
Expand Down

0 comments on commit c560b16

Please sign in to comment.