Fix documentation example code

This commit is contained in:
Simon Stürz 2019-09-13 17:12:12 +02:00
parent 4984618797
commit 754074ae77

View File

@ -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](){