D21543: Fix narrowing conversion in LineAnnotationWidget::endStyleIcon

Tobias Deiminger noreply at phabricator.kde.org
Sun Jun 2 12:46:54 BST 2019


tobiasdeiminger created this revision.
Herald added a project: Okular.
Herald added a subscriber: okular-devel.
tobiasdeiminger requested review of this revision.

REVISION SUMMARY
  Windows MSVC Qt5.11 build fails:
  
    conversion from 'initializer list' to 'QSizeF' requires a narrowing conversion
  
  Pass QSize, and let QSizeF Ctor `QSizeF(const QSize &)` do the conversion.

TEST PLAN
  - build on Windows MSVC

REPOSITORY
  R223 Okular

BRANCH
  bugfix/lineannoticon_winbuild

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

AFFECTED FILES
  ui/annotationwidgets.cpp

To: tobiasdeiminger
Cc: okular-devel, joaonetto, tfella, ngraham, darcyshen, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20190602/e9d8e1f7/attachment.html>


More information about the Okular-devel mailing list