mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-25 16:43:33 +00:00
Do not use deprecated implicit conversion
This commit is contained in:
parent
99a575b663
commit
792feae39e
@ -192,12 +192,12 @@ QVariant ContentSelectorModel::ContentModel::data(const QModelIndex& index, int
|
|||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
case 1:
|
case 1:
|
||||||
return Qt::AlignLeft + Qt::AlignVCenter;
|
return QVariant(Qt::AlignLeft | Qt::AlignVCenter);
|
||||||
case 2:
|
case 2:
|
||||||
case 3:
|
case 3:
|
||||||
return Qt::AlignRight + Qt::AlignVCenter;
|
return QVariant(Qt::AlignRight | Qt::AlignVCenter);
|
||||||
default:
|
default:
|
||||||
return Qt::AlignLeft + Qt::AlignVCenter;
|
return QVariant(Qt::AlignLeft | Qt::AlignVCenter);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user