Browse Source

Specify `context` parameter in connect()

adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
e7ee59c12f
  1. 2
      src/gui/mainwindow.cpp

2
src/gui/mainwindow.cpp

@ -311,7 +311,7 @@ MainWindow::MainWindow(QWidget *parent) @@ -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);

Loading…
Cancel
Save