MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / closeToTrayWarning

Method closeToTrayWarning

lightscreenwindow.cpp:230–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230void 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
241bool LightscreenWindow::closingWithoutTray()
242{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected