| 394 | } |
| 395 | |
| 396 | void MainWindow::slotActivated(QSystemTrayIcon::ActivationReason reason) { |
| 397 | if(reason == QSystemTrayIcon::Trigger) { |
| 398 | if(this->isHidden()) |
| 399 | this->show(); |
| 400 | else |
| 401 | this->hide(); |
| 402 | } |
| 403 | } |
| 404 | |
| 405 | void MainWindow::closeEvent(QCloseEvent *e) { |
| 406 |
nothing calls this directly
no outgoing calls
no test coverage detected