diff --git a/selfdrive/ui/qt/text.cc b/selfdrive/ui/qt/text.cc index 011ed8189c..e87db09a9a 100644 --- a/selfdrive/ui/qt/text.cc +++ b/selfdrive/ui/qt/text.cc @@ -79,7 +79,7 @@ int main(int argc, char *argv[]) { QObject::connect(btn, &QPushButton::clicked, [=]() { Hardware::reboot(); }); - QObject::connect(update_btn, &QPushButton::clicked, [=, &watcher]() { + QObject::connect(update_btn, &QPushButton::clicked, [=]() { btn->setEnabled(false); update_btn->setEnabled(false); update_btn->setText(QObject::tr("Updating..."));