revert unrelated change

This commit is contained in:
Marco Martin 2017-03-16 18:41:19 +01:00
parent a25a06b6fa
commit 926f2136e8

View file

@ -453,7 +453,7 @@ void ModelTest::data()
// Check that the alignment is one we know about
QVariant textAlignmentVariant = model->data ( model->index ( 0, 0 ), Qt::TextAlignmentRole );
if ( textAlignmentVariant.isValid() ) {
unsigned int alignment = textAlignmentVariant.toInt();
int alignment = textAlignmentVariant.toInt();
QCOMPARE( alignment, ( alignment & ( Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask ) ) );
}