From 6d5f997a1e362addc52bcfb0e534b4b69eaafe8b Mon Sep 17 00:00:00 2001 From: Xinyu Hou Date: Tue, 30 Jun 2015 01:42:08 +0100 Subject: [PATCH] Removed notification but use tray icon #4745 --- src/gui/src/MainWindow.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp index 1ecfde01..b6a9af58 100644 --- a/src/gui/src/MainWindow.cpp +++ b/src/gui/src/MainWindow.cpp @@ -477,17 +477,6 @@ void MainWindow::checkTransmission(const QString& line) line.contains("Interrupted")) { setSynergyState(synergyConnected); } - - // NOTIFY: Title: Detail - int p1 = line.indexOf(':'); - if (p1 > 0) { - int p2 = line.indexOf(':', p1 + 1); - if (p2 > 0) { - QString title = line.mid(p1 + 2, p2 - p1 - 2); - QString detail = line.mid(p2 + 2); - m_pTrayIcon->showMessage(title, detail); - } - } } } }