Browse Source

fix(build): don't connect UpdateCheck when -DUPDATE_CHECK=OFF

reviewable/pr6387/r1
Jimi Huotari 4 years ago
parent
commit
50063f76ab
  1. 2
      src/widget/form/settings/aboutform.cpp

2
src/widget/form/settings/aboutform.cpp

@ -63,7 +63,9 @@ AboutForm::AboutForm(UpdateCheck* updateCheck) @@ -63,7 +63,9 @@ AboutForm::AboutForm(UpdateCheck* updateCheck)
bodyUI->setupUi(this);
bodyUI->unstableVersion->setVisible(false);
#if UPDATE_CHECK_ENABLED
connect(updateCheck, &UpdateCheck::versionIsUnstable, this, &AboutForm::onUnstableVersion);
#endif
// block all child signals during initialization
const RecursiveSignalBlocker signalBlocker(this);

Loading…
Cancel
Save