Quit the application when tryLubuntu is clicked.

pull/1/head
Simon Quigley 2 years ago
parent 6814333aba
commit 171a79b519

@ -17,6 +17,13 @@ InstallerPrompt::InstallerPrompt(QWidget *parent)
// Set the button colors
ui->tryLubuntu->setStyleSheet("background-color: rgba(0, 104, 200, 100);");
ui->installLubuntu->setStyleSheet("background-color: rgba(0, 104, 200, 100);");
connect(ui->tryLubuntu, &QAbstractButton::clicked, this, &InstallerPrompt::tryLubuntu);
}
void InstallerPrompt::tryLubuntu()
{
QApplication::quit();
}
InstallerPrompt::~InstallerPrompt()

@ -15,6 +15,9 @@ public:
InstallerPrompt(QWidget *parent = nullptr);
~InstallerPrompt();
public slots:
void tryLubuntu();
private:
Ui::InstallerPrompt *ui;
};

Loading…
Cancel
Save