| 228 | } |
| 229 | |
| 230 | void LightscreenWindow::closeToTrayWarning() |
| 231 | { |
| 232 | if (!settings()->value("options/closeToTrayWarning", true).toBool()) { |
| 233 | return; |
| 234 | } |
| 235 | |
| 236 | mLastMessage = 3; |
| 237 | mTrayIcon->showMessage(tr("Closed to tray"), tr("Lightscreen will keep running, you can disable this in the options menu.")); |
| 238 | settings()->setValue("options/closeToTrayWarning", false); |
| 239 | } |
| 240 | |
| 241 | bool LightscreenWindow::closingWithoutTray() |
| 242 | { |
nothing calls this directly
no outgoing calls
no test coverage detected