diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-01 17:48:27 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-01 17:48:27 -0600 |
commit | a724bc15414f0fc1eaf66b82199e0aac3d18705a (patch) | |
tree | a29eaf7150bdee539fb9e36e8c4503249eeb8abd /ui/qt5/networkifacepage.hh | |
parent | 10eea3578306be8af2271a63204447c5bd70ebaf (diff) | |
download | horizon-a724bc15414f0fc1eaf66b82199e0aac3d18705a.tar.gz horizon-a724bc15414f0fc1eaf66b82199e0aac3d18705a.tar.bz2 horizon-a724bc15414f0fc1eaf66b82199e0aac3d18705a.tar.xz horizon-a724bc15414f0fc1eaf66b82199e0aac3d18705a.zip |
Qt UI: Drastically simplify Runtime Env NIC selection, keep DHCP setting
Diffstat (limited to 'ui/qt5/networkifacepage.hh')
-rw-r--r-- | ui/qt5/networkifacepage.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/qt5/networkifacepage.hh b/ui/qt5/networkifacepage.hh index d9141e9..148c25c 100644 --- a/ui/qt5/networkifacepage.hh +++ b/ui/qt5/networkifacepage.hh @@ -13,7 +13,11 @@ #ifndef NETWORKIFACEPAGE_HH #define NETWORKIFACEPAGE_HH +#ifdef HAS_INSTALL_ENV #include <QListWidget> +#else +#include <QLineEdit> +#endif /* HAS_INSTALL_ENV */ #include "horizonwizardpage.hh" @@ -25,7 +29,11 @@ public: int nextId() const override; bool validatePage() override; private: +#ifdef HAS_INSTALL_ENV QListWidget *ifaceList; +#else + QLineEdit *ifaceName; +#endif /* HAS_INSTALL_ENV */ }; #endif /* !NETWORKIFACEPAGE_HH */ |