Drop to a desktop if the install fails or is canceled.
This commit is contained in:
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…
x
Reference in New Issue
Block a user