Update qt_mainwindow.cpp
This commit is contained in:
@@ -651,8 +651,8 @@ void MainWindow::showEvent(QShowEvent *event) {
|
|||||||
if (shownonce) return;
|
if (shownonce) return;
|
||||||
shownonce = true;
|
shownonce = true;
|
||||||
if (window_remember) {
|
if (window_remember) {
|
||||||
if (window_w < 320) window_w = 320;
|
if (window_w == 0) window_w = 320;
|
||||||
if (window_h < 200) window_h = 200;
|
if (window_h == 0) window_h = 200;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window_remember && !QApplication::platformName().contains("wayland")) {
|
if (window_remember && !QApplication::platformName().contains("wayland")) {
|
||||||
|
Reference in New Issue
Block a user