Commit e9fccc2e authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Use cmakedefine01

This way we get a build time warning if the var isn't defined at all, e.g.
a missing check_include_files() CMake call.
parent 23a736d6
Pipeline #188812 passed with stage
in 1 minute and 38 seconds
#cmakedefine KDEPIM_ENTERPRISE_BUILD 1
#cmakedefine01 KDEPIM_ENTERPRISE_BUILD
......@@ -50,7 +50,7 @@ PersonalDataPage::PersonalDataPage(Dialog *parent)
connect(ui.nameEdit, &QLineEdit::textChanged, this, &PersonalDataPage::slotTextChanged);
connect(ui.createAccountPb, &QPushButton::clicked, this, &PersonalDataPage::slotCreateAccountClicked);
connect(ui.buttonGroup, &QButtonGroup::buttonClicked, this, &PersonalDataPage::slotRadioButtonClicked);
#ifdef KDEPIM_ENTERPRISE_BUILD
#if KDEPIM_ENTERPRISE_BUILD
ui.checkOnlineGroupBox->setChecked(false);
#endif
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment