summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/modeltest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/domain/modeltest.cpp')
-rw-r--r--framework/src/domain/modeltest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/domain/modeltest.cpp b/framework/src/domain/modeltest.cpp
index 2bd3d27f..4f85bf43 100644
--- a/framework/src/domain/modeltest.cpp
+++ b/framework/src/domain/modeltest.cpp
@@ -442,7 +442,7 @@ void ModelTest::data()
442 QVariant textAlignmentVariant = model->data ( model->index ( 0, 0 ), Qt::TextAlignmentRole ); 442 QVariant textAlignmentVariant = model->data ( model->index ( 0, 0 ), Qt::TextAlignmentRole );
443 if ( textAlignmentVariant.isValid() ) { 443 if ( textAlignmentVariant.isValid() ) {
444 int alignment = textAlignmentVariant.toInt(); 444 int alignment = textAlignmentVariant.toInt();
445 QCOMPARE( alignment, ( alignment & ( Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask ) ) ); 445 QCOMPARE( alignment, int( alignment & ( Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask ) ) );
446 } 446 }
447 447
448 // General Purpose roles that should return a QColor 448 // General Purpose roles that should return a QColor