From 3d55516fdf98cc5d3f63ffe0f722661272b070ae Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Mon, 1 Jun 2015 16:56:52 -0700 Subject: [PATCH] Removed unused code #4745 --- src/gui/src/MainWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp index 7a3bf55e..7e0762b0 100644 --- a/src/gui/src/MainWindow.cpp +++ b/src/gui/src/MainWindow.cpp @@ -467,7 +467,7 @@ void MainWindow::checkFingerprint(const QString& line) void MainWindow::checkTransmission(const QString& line) { - if (line.contains("File Transmission")) { + if (line.contains("Transmission")) { if (line.contains("Started")) { setSynergyState(synergyTransfering); } @@ -505,7 +505,6 @@ void MainWindow::clearLog() void MainWindow::startSynergy() { - m_pTrayIcon->showMessage("test", "transfering clipboard data!!",QSystemTrayIcon::Warning,2); bool desktopMode = appConfig().processMode() == Desktop; bool serviceMode = appConfig().processMode() == Service;