zzag created this revision. zzag added reviewers: cfeck, elvisangelaccio. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. zzag requested review of this revision.
REVISION SUMMARY QStyleOptionProgressBarV2 has been deprecated in favor of QStyleOptionProgressBar. Beside that, `::orientation` member has also been deprecated in favor of checking the QStyle::State_Horizontal flag. We need to set the QStyle::State_Horizontal state so widget styles which don't use QStyleOptionProgressBarV2 can properly style KCapacityBar. See http://doc-snapshots.qt.io/qt5-5.11/qstyleoptionprogressbar-obsolete.html REPOSITORY R236 KWidgetsAddons BRANCH kcapacitybar-state REVISION DETAIL https://phabricator.kde.org/D11566 AFFECTED FILES src/kcapacitybar.cpp To: zzag, cfeck, elvisangelaccio Cc: #frameworks, michaelh, ngraham