Drop to a desktop if the install fails or is canceled.

pull/1/head
Aaron Rainbolt 2 years ago
parent 9f9f7118eb
commit 6af8cc8c87

@ -46,6 +46,9 @@ void InstallerPrompt::installLubuntu()
{ {
QProcess *calamares = new QProcess(this); QProcess *calamares = new QProcess(this);
calamares->start("/usr/libexec/lubuntu-installer"); 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() InstallerPrompt::~InstallerPrompt()

Loading…
Cancel
Save