mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(build): don't connect UpdateCheck when -DUPDATE_CHECK=OFF
This commit is contained in:
parent
da5c165f41
commit
50063f76ab
|
@ -63,7 +63,9 @@ AboutForm::AboutForm(UpdateCheck* updateCheck)
|
||||||
bodyUI->setupUi(this);
|
bodyUI->setupUi(this);
|
||||||
|
|
||||||
bodyUI->unstableVersion->setVisible(false);
|
bodyUI->unstableVersion->setVisible(false);
|
||||||
|
#if UPDATE_CHECK_ENABLED
|
||||||
connect(updateCheck, &UpdateCheck::versionIsUnstable, this, &AboutForm::onUnstableVersion);
|
connect(updateCheck, &UpdateCheck::versionIsUnstable, this, &AboutForm::onUnstableVersion);
|
||||||
|
#endif
|
||||||
|
|
||||||
// block all child signals during initialization
|
// block all child signals during initialization
|
||||||
const RecursiveSignalBlocker signalBlocker(this);
|
const RecursiveSignalBlocker signalBlocker(this);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user