D13336: Check for option->styleObject before accessing it

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Jun 4 15:07:27 UTC 2018


broulik created this revision.
broulik added reviewers: Plasma, hpereiradacosta, cfeck.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  BUG: 395028
  FIXED-IN: 5.12.6

TEST PLAN
  Compiles. Scroll bars hover fine in both widgets and QML apps.
  
  Should this perhaps use
  
    bool widgetMouseOver( ( option->state & State_MouseOver ) );
  
  like in `scrollBarArrowColor` so that it maybe gives a hover effect in this case?

REPOSITORY
  R31 Breeze

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

AFFECTED FILES
  kstyle/breezestyle.cpp

To: broulik, #plasma, hpereiradacosta, cfeck
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180604/c363eff1/attachment.html>


More information about the Plasma-devel mailing list