diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 0fc0a314d..96d7ed363 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -311,7 +311,7 @@ MainWindow::MainWindow(QWidget *parent) connect(m_ui->actionDecreasePriority, &QAction::triggered, m_transferListWidget, &TransferListWidget::decreasePrioSelectedTorrents); connect(m_ui->actionBottomPriority, &QAction::triggered, m_transferListWidget, &TransferListWidget::bottomPrioSelectedTorrents); #ifndef Q_OS_MAC - connect(m_ui->actionToggleVisibility, &QAction::triggered, [this](){ toggleVisibility(); }); + connect(m_ui->actionToggleVisibility, &QAction::triggered, this, [this]() { toggleVisibility(); }); #endif connect(m_ui->actionMinimize, &QAction::triggered, this, &MainWindow::minimizeWindow); connect(m_ui->actionUseAlternativeSpeedLimits, &QAction::triggered, this, &MainWindow::toggleAlternativeSpeeds);