Settings mode behaviour now identical to Win32

This commit is contained in:
Cacodemon345
2022-02-06 12:45:55 +06:00
parent c311658330
commit 34b9c824e0
3 changed files with 16 additions and 8 deletions

View File

@@ -442,7 +442,6 @@ void MainWindow::showEvent(QShowEvent *event) {
scrnsz_x = window_w;
scrnsz_y = window_h;
}
if (settings_only) QTimer::singleShot(0, this, [this] () { ui->actionSettings->trigger(); });
}
void MainWindow::on_actionKeyboard_requires_capture_triggered() {
@@ -518,11 +517,6 @@ void MainWindow::on_actionSettings_triggered() {
break;
}
plat_pause(currentPause);
if (settings_only) {
cpu_thread_run = 0;
config_save();
QApplication::quit();
}
}
std::array<uint32_t, 256> x11_to_xt_base