MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / instance

Method instance

syncthingwidgets/settings/wizard.cpp:122–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122Wizard *Wizard::instance()
123{
124 if (!s_instance) {
125 s_instance = new Wizard();
126 s_instance->setAttribute(Qt::WA_DeleteOnClose, true);
127 }
128 return s_instance;
129}
130
131SetupDetection &Wizard::setupDetection()
132{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected