Update qt_mainwindow.cpp

This commit is contained in:
Cacodemon345
2022-08-01 18:06:45 +06:00
committed by GitHub
parent 8b99f9f360
commit af31671619

View File

@@ -651,8 +651,8 @@ void MainWindow::showEvent(QShowEvent *event) {
if (shownonce) return;
shownonce = true;
if (window_remember) {
if (window_w < 320) window_w = 320;
if (window_h < 200) window_h = 200;
if (window_w == 0) window_w = 320;
if (window_h == 0) window_h = 200;
}
if (window_remember && !QApplication::platformName().contains("wayland")) {