Revamp bindable subscription example
Silence a bogus warning. Task-number: QTBUG-114689 Change-Id: I7267b752e780b0c48cc57a513d12ad504e4c7a30 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 0644f8e63adf9dacc5e6adfac1bdc2dfa4324e2f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
27d2256494
commit
5ef2440102
@ -23,6 +23,8 @@ int main(int argc, char *argv[])
|
|||||||
BindableSubscription subscription(&user);
|
BindableSubscription subscription(&user);
|
||||||
|
|
||||||
SubscriptionWindow w;
|
SubscriptionWindow w;
|
||||||
|
// clazy:excludeall=lambda-in-connect
|
||||||
|
// when subscription is out of scope so is window
|
||||||
|
|
||||||
// Initialize subscription data
|
// Initialize subscription data
|
||||||
QRadioButton *monthly = w.findChild<QRadioButton *>("btnMonthly");
|
QRadioButton *monthly = w.findChild<QRadioButton *>("btnMonthly");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user