From a724bc15414f0fc1eaf66b82199e0aac3d18705a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 1 Dec 2019 17:48:27 -0600 Subject: Qt UI: Drastically simplify Runtime Env NIC selection, keep DHCP setting --- ui/qt5/networkifacepage.hh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ui/qt5/networkifacepage.hh') 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 +#else +#include +#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 */ -- cgit v1.2.3-60-g2f50