1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

Do not use deprecated implicit conversion

This commit is contained in:
Andrei Kortunov 2023-01-15 18:29:55 +04:00
parent 99a575b663
commit 792feae39e

View file

@ -192,12 +192,12 @@ QVariant ContentSelectorModel::ContentModel::data(const QModelIndex& index, int
{
case 0:
case 1:
return Qt::AlignLeft + Qt::AlignVCenter;
return QVariant(Qt::AlignLeft | Qt::AlignVCenter);
case 2:
case 3:
return Qt::AlignRight + Qt::AlignVCenter;
return QVariant(Qt::AlignRight | Qt::AlignVCenter);
default:
return Qt::AlignLeft + Qt::AlignVCenter;
return QVariant(Qt::AlignLeft | Qt::AlignVCenter);
}
}