Check for option->styleObject before accessing it
ClosedPublic

Authored by broulik on Jun 4 2018, 3:07 PM.

Details

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?

Diff Detail

Repository
R31 Breeze
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Jun 4 2018, 3:07 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJun 4 2018, 3:07 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Jun 4 2018, 3:07 PM
hpereiradacosta resigned from this revision.Jun 4 2018, 3:54 PM
davidedmundson accepted this revision.Jun 5 2018, 8:41 AM
davidedmundson added a subscriber: davidedmundson.

Note you're not matching Breeze's existing coding style

This revision is now accepted and ready to land.Jun 5 2018, 8:41 AM
This revision was automatically updated to reflect the committed changes.