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

Method setStatus

lightscreenwindow.cpp:952–965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

950}
951
952void LightscreenWindow::setStatus(QString status)
953{
954 if (status.isEmpty()) {
955 status = tr("Lightscreen");
956 } else {
957 status += tr(" - Lightscreen");
958 }
959
960 if (mTrayIcon) {
961 mTrayIcon->setToolTip(status);
962 }
963
964 setWindowTitle(status);
965}
966
967QSettings *LightscreenWindow::settings() const
968{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected