diff options
author | Gabriel de Dietrich <gabriel.dedietrich@digia.com> | 2014-04-29 19:29:59 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-02 17:36:45 +0200 |
commit | a006ede6e785b288d6955490217a6da46e62a7b5 (patch) | |
tree | efd479209deb19cede99d03606c18a08206b015d /src/opengl/qglfunctions.cpp | |
parent | 721543e46484524f509e21e6bfe483e5b57bc4be (diff) |
Mac style: Get proper ThemeButtonKind for QDateTimeEdit
When it gets 'calendarPopup' set, that is.
The reason lies, indirectly, in the extra margins we add to
QComboBoxes and other QPushButtons in the Mac style. However,
these extra margins do not apply to spinboxes, which is what
QDateTimeEdit is.
In particular, this causes Designer to show QDateTimeEdit at
the wrong size when it's not in a layout.
Task-number: QTBUG-38615
Change-Id: I3dd52e10db8c8970a6dc40b39fbe29dd86167daa
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'src/opengl/qglfunctions.cpp')
0 files changed, 0 insertions, 0 deletions