From 77a4ad101732fa77ff7253bc6bda06c180a9fe2a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 15 Nov 2019 13:23:23 -0600 Subject: 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. --- ui/qt5/horizonwizard.cc | 3 +++ ui/qt5/horizonwizard.hh | 2 ++ 2 files changed, 5 insertions(+) (limited to 'ui/qt5') 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 interfaces; std::string chosen_auto_iface; }; -- cgit v1.2.3-60-g2f50