diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-06 02:58:43 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-06 02:58:43 -0600 |
commit | 397feb0a9a2a5fdc80771cf83e65e3fc71b62563 (patch) | |
tree | d6dbbffc8407268c1de2790f5c55c954c771acd5 /ui/qt5 | |
parent | 04a397afdeddf08173313be429648f6f3492045d (diff) | |
download | horizon-397feb0a9a2a5fdc80771cf83e65e3fc71b62563.tar.gz horizon-397feb0a9a2a5fdc80771cf83e65e3fc71b62563.tar.bz2 horizon-397feb0a9a2a5fdc80771cf83e65e3fc71b62563.tar.xz horizon-397feb0a9a2a5fdc80771cf83e65e3fc71b62563.zip |
Qt UI: Fix Wi-Fi page build in Runtime Environment
Diffstat (limited to 'ui/qt5')
-rw-r--r-- | ui/qt5/netsimplewifipage.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/qt5/netsimplewifipage.cc b/ui/qt5/netsimplewifipage.cc index 94c8ee5..65d56c9 100644 --- a/ui/qt5/netsimplewifipage.cc +++ b/ui/qt5/netsimplewifipage.cc @@ -25,7 +25,11 @@ int scanResults(wpactrl_t *control, char const *s, size_t len, void *page, tain_ #endif /* HAS_INSTALL_ENV */ NetworkSimpleWirelessPage::NetworkSimpleWirelessPage(QWidget *parent) - : HorizonWizardPage(parent), control(WPACTRL_ZERO) { + : HorizonWizardPage(parent) +#ifdef HAS_INSTALL_ENV + , control(WPACTRL_ZERO) +#endif /* HAS_INSTALL_ENV */ + { QVBoxLayout *layout; loadWatermark("network"); |