Unverified Commit 8b3ba479 authored by Wieland Morgenstern's avatar Wieland Morgenstern Committed by GitHub

Merge pull request #15 from stitchEm/w-m/unused-lambda-capture

unused lambda capture
parents 592dec64 d0df25f4
...@@ -127,12 +127,12 @@ void OutputsController::outputConnectionTimerExpired(const QString& outputId, bo ...@@ -127,12 +127,12 @@ void OutputsController::outputConnectionTimerExpired(const QString& outputId, bo
GenericDialog::DialogMode::ACCEPT_CANCEL, WidgetsManager::getInstance()->getMainWindowRef()), GenericDialog::DialogMode::ACCEPT_CANCEL, WidgetsManager::getInstance()->getMainWindowRef()),
[](GenericDialog* dataPtr) { dataPtr->close(); }); [](GenericDialog* dataPtr) { dataPtr->close(); });
connect(connectionDialog.get(), &GenericDialog::notifyAcceptClicked, this, [this, outputId, reconnectionMode]() { connect(connectionDialog.get(), &GenericDialog::notifyAcceptClicked, this, [this, outputId]() {
connectionDialog.reset(); connectionDialog.reset();
startingOutputs[outputId]->start(LiveSettings::getLiveSettings()->getOutputConnectionTimeout()); 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); emit reqToggleOutput(outputId);
startingOutputs.remove(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