From 6870af8eb775a985e3a2e36fa05f930dd3325e37 Mon Sep 17 00:00:00 2001 From: Jamie Newbon Date: Mon, 8 Apr 2019 15:20:56 +0100 Subject: [PATCH] #6471 Stopped gui locking into retry loop --- src/gui/src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp index 624d71ba..7e9e8744 100644 --- a/src/gui/src/MainWindow.cpp +++ b/src/gui/src/MainWindow.cpp @@ -932,7 +932,7 @@ void MainWindow::setSynergyState(qSynergyState state) if (synergyState() == state) return; - if ((state == synergyConnected) || (state == synergyConnecting) || (state == synergyListening)) + if ((state == synergyConnected) || (state == synergyListening)) { disconnect (m_pButtonToggleStart, SIGNAL(clicked()), m_pActionStartSynergy, SLOT(trigger())); connect (m_pButtonToggleStart, SIGNAL(clicked()), m_pActionStopSynergy, SLOT(trigger()));