Fix documentation example code
This commit is contained in:
parent
4984618797
commit
754074ae77
@ -35,6 +35,8 @@
|
||||
button->setName("User button");
|
||||
if (!button->enable()) {
|
||||
qWarning() << "Could not enable the" << this;
|
||||
button->deleteLater();
|
||||
return;
|
||||
}
|
||||
|
||||
connect(button, &GpioButton::clicked, this, [this, button](){
|
||||
|
||||
Reference in New Issue
Block a user