D5083: fix compilation with old gcc

David Edmundson noreply at phabricator.kde.org
Mon Mar 20 11:17:14 UTC 2017


davidedmundson accepted this revision.
davidedmundson added a comment.
This revision is now accepted and ready to land.


  fix it then ship it.

INLINE COMMENTS

> modeltest.cpp:456
>      if ( textAlignmentVariant.isValid() ) {
> -        int alignment = textAlignmentVariant.toInt();
> +        unsigned int alignment = textAlignmentVariant.toInt();
>          QCOMPARE( alignment, ( alignment & ( Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask ) ) );

toUInt

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D5083

To: mart, #plasma, davidedmundson
Cc: davidedmundson, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170320/9d2e5d10/attachment.html>


More information about the Plasma-devel mailing list