diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-02-09 12:59:42 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-02-09 12:30:34 +0000 |
commit | 9dc39b7f0610990dabf9f8544ca64ff5175e7c77 (patch) | |
tree | 4a12bcd9e8c0a93b3f985f9f4ba941540d6aaaf3 /src/dialogs/WidgetFontDialog.qml | |
parent | 48bfc02e82cb4b666fb832ef0ace59af8a0c7ef2 (diff) | |
download | qtquickcontrols-5.10.tar.gz |
Calendar: make clicked(date) emit the correct date5.10
Calendar was implemented in such a way that pressing on a date selects
that date, rather than releasing or clicking. With the current code,
this presents issues when the month changes as a result of the press.
For example, clicking on a date in an adjacent month will result in the
clicked() signal passing the date under the mouse in the new month,
instead of the originally pressed date.
This patches fixes the issue by storing the pressed date and using it
when emitting the released() and clicked() signals.
Task-number: QTBUG-54129
Change-Id: I0c16293033b77f6ae783b5365d198b4a516af90b
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/dialogs/WidgetFontDialog.qml')
0 files changed, 0 insertions, 0 deletions