| 304 | } |
| 305 | |
| 306 | void QNapiApp::tryQuit() { |
| 307 | if (progress()->isVisible() && !progress()->close()) return; |
| 308 | quit(); |
| 309 | } |
| 310 | |
| 311 | void QNapiApp::trayIconActivated(QSystemTrayIcon::ActivationReason reason) { |
| 312 | if (reason == QSystemTrayIcon::Trigger) |