Add desktop notifications, enable enrolling when the wizard is displayed

This commit is contained in:
Guillaume Meunier
2024-11-26 23:59:35 +01:00
committed by Patrick Nicolas
parent 59192bac6c
commit 2aa12de520
11 changed files with 174 additions and 27 deletions
+2 -12
View File
@@ -640,22 +640,12 @@ void main_window::on_server_start_timeout()
void main_window::on_action_settings()
{
assert(not settings_window);
settings_window = new settings(server_interface);
connect(settings_window, &QDialog::finished, this, [&]() {
settings_window->deleteLater();
settings_window = nullptr;
});
settings_window->exec();
settings{server_interface}.exec();
}
void main_window::on_action_wizard()
{
assert(not wizard_window);
wizard_window = new wizard;
wizard_window->exec();
wizard{}.exec();
}
void main_window::on_action_usb(const std::string & serial)