Button's text should use SystemPalette.buttonText
authorKonstantin Ritt <ritt.ks@gmail.com>
Mon, 17 Mar 2014 01:39:47 +0000 (03:39 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 17 Mar 2014 09:59:24 +0000 (10:59 +0100)
commit1097eede1736df4f49be1b40ecfb5a4902f6e582
tree14f3b59d1cc78e3e15047f82f73c1d9bc52047ef
parent2874e074ca8cd1f9c8975728afa04a28ea3790ee
Button's text should use SystemPalette.buttonText

In themes with inversed colors text and buttonText colors may differ,
and Button as QButton's analog should use the correct one.

Change-Id: I101e0c463faf5f99df0282486aef0d3411b41156
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
src/controls/Styles/Base/ButtonStyle.qml