From 910848185f3632cbd8b3bb72bf9d8b54ff4d2909 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 16 Feb 2020 23:34:27 -0600 Subject: Qt UI: Add UI.Partition.Install.UserPrompt page --- ui/qt5/horizonwizard.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ui/qt5/horizonwizard.cc') diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc index 6166946..862d2d6 100644 --- a/ui/qt5/horizonwizard.cc +++ b/ui/qt5/horizonwizard.cc @@ -43,6 +43,7 @@ extern "C" { #endif /* NON_LIBRE_FIRMWARE */ #include "partitionpage.hh" #include "partitiondiskpage.hh" +#include "partitionchoicepage.hh" #include "networkingpage.hh" #include "networkifacepage.hh" #include "netsimplewifipage.hh" @@ -212,6 +213,7 @@ HorizonWizard::HorizonWizard(QWidget *parent) : QWizard(parent) { #endif /* NON_LIBRE_FIRMWARE */ setPage(Page_Partition, new PartitionPage); setPage(Page_PartitionDisk, new PartitionDiskPage); + setPage(Page_PartitionChoose, new PartitionChoicePage); setPage(Page_Network, new NetworkingPage); setPage(Page_Network_Iface, new NetworkIfacePage); setPage(Page_Network_Wireless, new NetworkSimpleWirelessPage); @@ -396,7 +398,7 @@ QString HorizonWizard::toHScript() { break; } - if(auto_disk.empty()) { + if(chosen_disk.empty()) { lines << part_lines; } else { /* XXX TODO: examples for thoughts on auto-partition setups are in -- cgit v1.2.3-60-g2f50