diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-10-06 05:16:34 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-10-06 05:16:34 -0500 |
commit | 241277118cb3e091068adab386000153b80b7209 (patch) | |
tree | a14ae566cc4e8c185f43f284655b9842c63af9e0 /user/milou/fix-test-signedness.patch | |
parent | 39765306c524932181fe4c0bf95a799f2474603c (diff) | |
download | packages-241277118cb3e091068adab386000153b80b7209.tar.gz packages-241277118cb3e091068adab386000153b80b7209.tar.bz2 packages-241277118cb3e091068adab386000153b80b7209.tar.xz packages-241277118cb3e091068adab386000153b80b7209.zip |
user/milou: new package
Diffstat (limited to 'user/milou/fix-test-signedness.patch')
-rw-r--r-- | user/milou/fix-test-signedness.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/user/milou/fix-test-signedness.patch b/user/milou/fix-test-signedness.patch new file mode 100644 index 000000000..373c67bc1 --- /dev/null +++ b/user/milou/fix-test-signedness.patch @@ -0,0 +1,11 @@ +--- milou-5.8.7/lib/test/modeltest.cpp.old 2017-05-23 07:05:02.000000000 -0500 ++++ milou-5.8.7/lib/test/modeltest.cpp 2017-10-06 05:05:21.383062040 -0500 +@@ -451,7 +451,7 @@ + // Check that the alignment is one we know about + QVariant textAlignmentVariant = model->data ( model->index ( 0, 0 ), Qt::TextAlignmentRole ); + if ( textAlignmentVariant.isValid() ) { +- int alignment = textAlignmentVariant.toInt(); ++ unsigned int alignment = textAlignmentVariant.toUInt(); + QCOMPARE( alignment, ( alignment & ( Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask ) ) ); + } + |