D8005: static_cast QPlatformSurfaceEvent instead of dynamic_cast

Kai Uwe Broulik noreply at phabricator.kde.org
Wed Sep 27 10:19:23 UTC 2017


broulik created this revision.
broulik added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  We check for `QEvent::PlatformSurface` so we can assume this is what we get.

TEST PLAN
  Compiles, didn't notice anything unusual

REPOSITORY
  R120 Plasma Workspace

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

AFFECTED FILES
  krunner/view.cpp
  ksmserver/shutdowndlg.cpp
  ksmserver/switchuserdialog.cpp
  shell/desktopview.cpp
  shell/panelconfigview.cpp
  shell/panelview.cpp

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


More information about the Plasma-devel mailing list