Removed notification but use tray icon #4745
This commit is contained in:
parent
3aebb87b37
commit
6d5f997a1e
|
@ -477,17 +477,6 @@ void MainWindow::checkTransmission(const QString& line)
|
||||||
line.contains("Interrupted")) {
|
line.contains("Interrupted")) {
|
||||||
setSynergyState(synergyConnected);
|
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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue