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:
parent
99a575b663
commit
792feae39e
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue