mirror of
https://github.com/gtalent/sc9k.git
synced 2025-01-22 21:03:37 -06:00
Fix Reboot dialog for Qt6
This commit is contained in:
parent
ac7bb9c585
commit
ae580a0d58
@ -128,7 +128,7 @@ void MainWindow::setupMenu() {
|
||||
confirm.setText(tr("Are you sure you want to reboot the camera? This will take about 20 seconds."));
|
||||
confirm.addButton(tr("&No"), QMessageBox::ButtonRole::NoRole);
|
||||
confirm.addButton(tr("&Yes"), QMessageBox::ButtonRole::YesRole);
|
||||
if (confirm.exec() == QMessageBox::YesRole) {
|
||||
if (confirm.exec()) {
|
||||
m_cameraClient.reboot();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user