Skip to content

Commit

Permalink
Drop deprecated QVariant::StringList (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-pereira authored May 8, 2024
1 parent 36ba355 commit 075ec89
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 075ec89

Please sign in to comment.