summaryrefslogtreecommitdiff
path: root/ui/qt5
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-16 19:33:58 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-16 19:33:58 -0600
commit8add82ed2122c26649d1b8fcd2ed13f98cc7be32 (patch)
tree8062de7cb6c95fddb871b690e4110c16b3e64299 /ui/qt5
parent394668483428fa2c370fd27fa4e7ee2c1328ea24 (diff)
downloadhorizon-8add82ed2122c26649d1b8fcd2ed13f98cc7be32.tar.gz
horizon-8add82ed2122c26649d1b8fcd2ed13f98cc7be32.tar.bz2
horizon-8add82ed2122c26649d1b8fcd2ed13f98cc7be32.tar.xz
horizon-8add82ed2122c26649d1b8fcd2ed13f98cc7be32.zip
Qt UI: Initialise 'control' correctly in NSWP
Diffstat (limited to 'ui/qt5')
-rw-r--r--ui/qt5/netsimplewifipage.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt5/netsimplewifipage.cc b/ui/qt5/netsimplewifipage.cc
index b1286fa..00f25ca 100644
--- a/ui/qt5/netsimplewifipage.cc
+++ b/ui/qt5/netsimplewifipage.cc
@@ -24,7 +24,7 @@ int scanResults(wpactrl_t *control, char const *s, size_t len, void *page, tain_
#endif /* HAS_INSTALL_ENV */
NetworkSimpleWirelessPage::NetworkSimpleWirelessPage(QWidget *parent)
- : HorizonWizardPage(parent) {
+ : HorizonWizardPage(parent), control(WPACTRL_ZERO) {
QVBoxLayout *layout;
loadWatermark("network");