diff options
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 */ |