Revamp bindable subscription example
Silence a bogus warning. Pick-to: 6.6 6.5 Task-number: QTBUG-114689 Change-Id: I7267b752e780b0c48cc57a513d12ad504e4c7a30 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
277de5ca4b
commit
0644f8e63a
@ -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