From 6af8cc8c8769d60986f9937694519a733497c098 Mon Sep 17 00:00:00 2001 From: Aaron Rainbolt Date: Mon, 6 Feb 2023 16:26:11 -0600 Subject: [PATCH] Drop to a desktop if the install fails or is canceled. --- src/installerprompt.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/installerprompt.cpp b/src/installerprompt.cpp index 663c88a..97f55a1 100644 --- a/src/installerprompt.cpp +++ b/src/installerprompt.cpp @@ -46,6 +46,9 @@ void InstallerPrompt::installLubuntu() { QProcess *calamares = new QProcess(this); calamares->start("/usr/libexec/lubuntu-installer"); + + // If Calamares exits, it either crashed or the user cancelled the installation. Exit the installer prompt (and start LXQt). + connect(calamares, &QProcess::finished, this, &InstallerPrompt::tryLubuntu); } InstallerPrompt::~InstallerPrompt()