Skip to content

Commit

Permalink
Fix warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
dchapyshev committed Jul 17, 2024
1 parent 9f3e9d1 commit 066004e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/host/ui/main_window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ void MainWindow::onClientListChanged(const UserSessionAgent::ClientList& clients

connect(notifier_, &NotifierWindow::sig_killSession, this, &MainWindow::onKillSession);

connect(notifier_, &NotifierWindow::sig_voiceChat, this, [=](bool enable)
connect(notifier_, &NotifierWindow::sig_voiceChat, this, [this](bool enable)
{
if (agent_proxy_)
agent_proxy_->setVoiceChat(enable);
Expand All @@ -275,7 +275,7 @@ void MainWindow::onClientListChanged(const UserSessionAgent::ClientList& clients
// TODO
});

connect(notifier_, &NotifierWindow::sig_lockMouse, this, [=](bool enable)
connect(notifier_, &NotifierWindow::sig_lockMouse, this, [this](bool enable)
{
if (agent_proxy_)
{
Expand All @@ -287,7 +287,7 @@ void MainWindow::onClientListChanged(const UserSessionAgent::ClientList& clients
}
});

connect(notifier_, &NotifierWindow::sig_lockKeyboard, this, [=](bool enable)
connect(notifier_, &NotifierWindow::sig_lockKeyboard, this, [this](bool enable)
{
if (agent_proxy_)
{
Expand All @@ -299,7 +299,7 @@ void MainWindow::onClientListChanged(const UserSessionAgent::ClientList& clients
}
});

connect(notifier_, &NotifierWindow::sig_pause, this, [=](bool enable)
connect(notifier_, &NotifierWindow::sig_pause, this, [this](bool enable)
{
if (agent_proxy_)
{
Expand Down Expand Up @@ -633,7 +633,7 @@ void MainWindow::onSettings()
{
QWinEventNotifier* process_watcher = new QWinEventNotifier(this);

connect(process_watcher, &QWinEventNotifier::activated, this, [=]
connect(process_watcher, &QWinEventNotifier::activated, this, [this, process_watcher]
{
process_watcher->deleteLater();
ui.action_settings->setEnabled(true);
Expand Down

0 comments on commit 066004e

Please sign in to comment.