From a8f32d865df998f1e152a2bde8edda8ab54779b7 Mon Sep 17 00:00:00 2001 From: xiaoming <2014500726@smail.xtu.edu.cn> Date: Mon, 21 Oct 2024 10:53:41 +0800 Subject: [PATCH] Fix the main window error raise Signed-off-by: xiaoming <2014500726@smail.xtu.edu.cn> --- CHANGELOG.md | 8 ++++++++ lib/QGoodWindow/QGoodWindow/src/qgoodwindow.cpp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 538140e4..ecd0747c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ ## [[Unrelease](https://github.com/QQxiaoming/quardCRT)] +en-US: + +- Fix the main window error raise + +zh-CN: + +- 修复主窗口错误的提升 + ## [[V0.5.1](https://github.com/QQxiaoming/quardCRT/releases/tag/V0.5.1)] - 2024-09-26 en-US: diff --git a/lib/QGoodWindow/QGoodWindow/src/qgoodwindow.cpp b/lib/QGoodWindow/QGoodWindow/src/qgoodwindow.cpp index d46773fc..23b7c2aa 100644 --- a/lib/QGoodWindow/QGoodWindow/src/qgoodwindow.cpp +++ b/lib/QGoodWindow/QGoodWindow/src/qgoodwindow.cpp @@ -1915,7 +1915,7 @@ bool QGoodWindow::event(QEvent *event) if (FIXED_SIZE(this)) break; - activateWindow(); + //activateWindow(); if (!windowState().testFlag(Qt::WindowNoState)) break;