diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp index 8263d5ea..aebf134a 100644 --- a/src/gui/src/MainWindow.cpp +++ b/src/gui/src/MainWindow.cpp @@ -398,7 +398,6 @@ void MainWindow::updateStateFromLogLine(const QString &line) { checkConnected(line); checkFingerprint(line); - checkTransmission(line); } void MainWindow::checkConnected(const QString& line) @@ -465,22 +464,6 @@ void MainWindow::checkFingerprint(const QString& line) } } -void MainWindow::checkTransmission(const QString& line) -{ - if (appConfig().logLevel() >= 2) { - if (line.contains("transmission")) { - if (line.contains("started")) { - setSynergyState(synergyTransfering); - } - else if (line.contains("failed") || - line.contains("complete") || - line.contains("interrupted")) { - setSynergyState(synergyConnected); - } - } - } -} - bool MainWindow::autoHide() { if ((appConfig().processMode() == Desktop) && diff --git a/src/gui/src/MainWindow.h b/src/gui/src/MainWindow.h index fd3547a4..3f57386b 100644 --- a/src/gui/src/MainWindow.h +++ b/src/gui/src/MainWindow.h @@ -172,7 +172,6 @@ class MainWindow : public QMainWindow, public Ui::MainWindowBase QString getProfileRootForArg(); void checkConnected(const QString& line); void checkFingerprint(const QString& line); - void checkTransmission(const QString& line); bool autoHide(); QString getTimeStamp();