From 6c0043c1e3d97398828fbd56448f1cd8ee201e66 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周五, 23 2月 2024 01:01:10 +0800
Subject: [PATCH] Fix bug of window closing and reshowing

---
 examples/mainwindow/main.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/examples/mainwindow/main.cpp b/examples/mainwindow/main.cpp
index d63729f..4118e80 100644
--- a/examples/mainwindow/main.cpp
+++ b/examples/mainwindow/main.cpp
@@ -33,7 +33,9 @@
     MainWindow w;
     w.show();
 
+#if 0
     QMainWindow w2;
     w2.show();
+#endif
     return a.exec();
 }
\ No newline at end of file

--
Gitblit v1.9.1