mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-18 08:22:06 +03:00
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")) {
|
||||
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
Block a user