diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-04-11 22:20:53 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-04-16 07:38:19 +0000 |
commit | 8f2e79776594b4466cc7766a057b5121dc0fe6ff (patch) | |
tree | 8705940ad0c36453eefa95a296eab572497574be /src/quicktemplates2/qquickbuttongroup_p.h | |
parent | 4b9b1a6e8df12e4a0b726f45b28afe1705a234cd (diff) |
ButtonGroup::buttons: avoid losing the checked button on re-assignment
Task-number: QTBUG-52358
Change-Id: I405947215cdbc6e99fe02dbc85e31c40656fc11a
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/quicktemplates2/qquickbuttongroup_p.h')
-rw-r--r-- | src/quicktemplates2/qquickbuttongroup_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickbuttongroup_p.h b/src/quicktemplates2/qquickbuttongroup_p.h index 5064aebd..a3ca0887 100644 --- a/src/quicktemplates2/qquickbuttongroup_p.h +++ b/src/quicktemplates2/qquickbuttongroup_p.h @@ -87,6 +87,8 @@ Q_SIGNALS: private: Q_DISABLE_COPY(QQuickButtonGroup) Q_DECLARE_PRIVATE(QQuickButtonGroup) + + Q_PRIVATE_SLOT(d_func(), void _q_updateCurrent()) }; class Q_QUICKTEMPLATES2_EXPORT QQuickButtonGroupAttached : public QObject |