Commit d0df25f4 authored by Wieland Morgenstern's avatar Wieland Morgenstern

unused lambda capture

parent dc5d24e0
......@@ -127,12 +127,12 @@ void OutputsController::outputConnectionTimerExpired(const QString& outputId, bo
GenericDialog::DialogMode::ACCEPT_CANCEL, WidgetsManager::getInstance()->getMainWindowRef()),
[](GenericDialog* dataPtr) { dataPtr->close(); });
connect(connectionDialog.get(), &GenericDialog::notifyAcceptClicked, this, [this, outputId, reconnectionMode]() {
connect(connectionDialog.get(), &GenericDialog::notifyAcceptClicked, this, [this, outputId]() {
connectionDialog.reset();
startingOutputs[outputId]->start(LiveSettings::getLiveSettings()->getOutputConnectionTimeout());
});
connect(connectionDialog.get(), &GenericDialog::notifyCancelClicked, this, [this, outputId, reconnectionMode]() {
connect(connectionDialog.get(), &GenericDialog::notifyCancelClicked, this, [this, outputId]() {
emit reqToggleOutput(outputId);
startingOutputs.remove(outputId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment