summaryrefslogtreecommitdiff
path: root/horizonwizard.cc
diff options
context:
space:
mode:
Diffstat (limited to 'horizonwizard.cc')
-rw-r--r--horizonwizard.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/horizonwizard.cc b/horizonwizard.cc
index 7c123ea..7ab4899 100644
--- a/horizonwizard.cc
+++ b/horizonwizard.cc
@@ -6,6 +6,10 @@
#include <string>
#include "welcomepage.hh"
+#ifndef NOT_NATIVE
+# include <horizon/networkinterface.hh>
+using Horizon::NetworkInterface;
+#endif
#include "networkingpage.hh"
#include "softwarepage.hh"
@@ -52,5 +56,8 @@ HorizonWizard::HorizonWizard(QWidget *parent) : QWizard(parent)
help.exec();
});
- selected.insert("adelie-base");
+ this->selected.insert("adelie-base");
+#ifndef NOT_NATIVE
+ this->interfaces = NetworkInterface::list_available_ifs();
+#endif
}