| 160 | } |
| 161 | |
| 162 | void TrayIcon::showError(const QString &text) |
| 163 | { |
| 164 | LERROR() << text; |
| 165 | setIcon(Icon::Error, Duration::Temporal); |
| 166 | tray_->showMessage(tr("Error"), text, QSystemTrayIcon::Warning); |
| 167 | } |
| 168 | |
| 169 | void TrayIcon::showFatalError(const QString &text) |
| 170 | { |