QMacStyle: Always draw status bar in active state if the window is main.
authorJake Petroules <jake.petroules@petroules.com>
Thu, 8 May 2014 05:31:20 +0000 (01:31 -0400)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 17 May 2014 00:07:36 +0000 (02:07 +0200)
commit518d874bc8cd43a6e87700be00c6f5132288bd35
tree75853c1b96d5caadf3fc8c7caed000a29a1421f3
parentcfcbb957c7ee85decee3379d8876a7b4094ae501
QMacStyle: Always draw status bar in active state if the window is main.

On OS X, most controls are drawn active or inactive based on their
window's main state, NOT its key ("active" in Qt) state.

Change-Id: If447d0a537bc594978f7202e7888ceacb54ec8fa
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
src/widgets/styles/qmacstyle_mac.mm