D7614: [FrameSvg] Use QPixmap::mask() instead of deprecated convoluted way via alphaChannel()

Kai Uwe Broulik noreply at phabricator.kde.org
Wed Aug 30 09:46:34 UTC 2017


broulik created this revision.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  QPixmap::alphaChannel() is deprecated.

TEST PLAN
  Corners of popups still nicely rounded (tested with Oxygen which has much more rounded borders than Breeze)
  Also saves half a millisecond on startup, creates 7 masks for me.

REPOSITORY
  R242 Plasma Framework (Library)

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

AFFECTED FILES
  src/plasma/framesvg.cpp

To: broulik, #plasma
Cc: plasma-devel, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170830/b9a6c5b9/attachment.html>


More information about the Kde-frameworks-devel mailing list