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

Method initializePage

syncthingwidgets/settings/wizard.cpp:565–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563}
564
565void DetectionWizardPage::initializePage()
566{
567 auto *const wizard = qobject_cast<Wizard *>(this->wizard());
568 if (!wizard) {
569 return;
570 }
571 if (!m_setupDetection) {
572 m_setupDetection = &wizard->setupDetection();
573 }
574
575 m_setupDetection->reset();
576 emit completeChanged();
577 QTimer::singleShot(0, this, &DetectionWizardPage::tryToConnect);
578}
579
580void DetectionWizardPage::cleanupPage()
581{

Callers

nothing calls this directly

Calls 13

isUnitAvailableMethod · 0.80
canEnableOrStartMethod · 0.80
displayNameMethod · 0.80
isRunningOrEnabledMethod · 0.80
mainConfigMethod · 0.80
guiUrlMethod · 0.80
syncthingUrlMethod · 0.80
extraConfigMethod · 0.80
autoStartMethod · 0.80
resetMethod · 0.45
isConnectedMethod · 0.45

Tested by

no test coverage detected