summaryrefslogtreecommitdiff
path: root/ui/qt5
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-15 13:23:23 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-15 13:23:23 -0600
commit77a4ad101732fa77ff7253bc6bda06c180a9fe2a (patch)
treefe2433b127ea48f00e5b0969888deeb0bea28e17 /ui/qt5
parente861058273ee99574f2425cfd1c1a0b510a95736 (diff)
downloadhorizon-77a4ad101732fa77ff7253bc6bda06c180a9fe2a.tar.gz
horizon-77a4ad101732fa77ff7253bc6bda06c180a9fe2a.tar.bz2
horizon-77a4ad101732fa77ff7253bc6bda06c180a9fe2a.tar.xz
horizon-77a4ad101732fa77ff7253bc6bda06c180a9fe2a.zip
Qt UI: Add mirror and version as members of HorizonWizard
Some day, these will be settable in the UI. For now, at least make the vars.
Diffstat (limited to 'ui/qt5')
-rw-r--r--ui/qt5/horizonwizard.cc3
-rw-r--r--ui/qt5/horizonwizard.hh2
2 files changed, 5 insertions, 0 deletions
diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc
index 72ede4f..4eaddb5 100644
--- a/ui/qt5/horizonwizard.cc
+++ b/ui/qt5/horizonwizard.cc
@@ -165,6 +165,9 @@ HorizonWizard::HorizonWizard(QWidget *parent) : QWizard(parent) {
setFixedSize(QSize(650, 450));
+ mirror_domain = "distfiles.adelielinux.org";
+ version = "stable";
+
/* REQ: UI.Global.Back.Save */
setOption(IndependentPages);
/* REQ: UI.Language.Buttons, Iface.UI.StandardButtons */
diff --git a/ui/qt5/horizonwizard.hh b/ui/qt5/horizonwizard.hh
index b999daf..cd0d213 100644
--- a/ui/qt5/horizonwizard.hh
+++ b/ui/qt5/horizonwizard.hh
@@ -66,6 +66,8 @@ public:
HorizonWizard(QWidget *parent = nullptr);
QShortcut *f1, *f3, *f5, *f8;
+ std::string mirror_domain;
+ std::string version;
std::map<std::string, NetworkInterface> interfaces;
std::string chosen_auto_iface;
};