mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-25 15:29:44 -05:00
🐛 Fix building with Qt 5.9 (closes #528)
This commit is contained in:
parent
79ba3a28e6
commit
2b6059dee3
@ -448,7 +448,8 @@ void ModelTest::data()
|
||||
QVariant textAlignmentVariant = model->data ( model->index ( 0, 0 ), Qt::TextAlignmentRole );
|
||||
if ( textAlignmentVariant.isValid() ) {
|
||||
int alignment = textAlignmentVariant.toInt();
|
||||
QCOMPARE( alignment, ( alignment & ( Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask ) ) );
|
||||
QCOMPARE( alignment, static_cast<int>( alignment & ( Qt::AlignHorizontal_Mask
|
||||
| Qt::AlignVertical_Mask ) ) );
|
||||
}
|
||||
|
||||
// General Purpose roles that should return a QColor
|
||||
|
Loading…
Reference in New Issue
Block a user