From 9d05db42dea7ffda4d82e98fd214e23497c20faf Mon Sep 17 00:00:00 2001 From: zhoudisi Date: Mon, 15 Apr 2024 13:56:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E8=80=A8=E5=86=99?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E6=97=A0=E6=B3=95=E6=B7=BB=E5=8A=A0=E7=88=B6?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhoudisi --- src/main.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 16fa651..68ac504 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -112,6 +112,16 @@ int main(int argc, char *argv[]) MainWindow::Instance(parser->positionalArguments(), nullptr); kdk::UkuiStyleHelper::self()->removeHeader(MainWindow::Instance()); MainWindow::Instance()->show(); + MODAL->setAttribute(Qt::WA_NativeWindow); + MODAL->windowHandle()->setTransientParent(MainWindow::Instance()->windowHandle()); + FILTERRULES->setAttribute(Qt::WA_NativeWindow); + FILTERRULES->windowHandle()->setTransientParent(MainWindow::Instance()->windowHandle()); + EXEC->setAttribute(Qt::WA_NativeWindow); + EXEC->windowHandle()->setTransientParent(MainWindow::Instance()->windowHandle()); + TIP_BURNRESULT->setAttribute(Qt::WA_NativeWindow); + TIP_BURNRESULT->windowHandle()->setTransientParent(MainWindow::Instance()->windowHandle()); + VIEWFILTERFILE->setAttribute(Qt::WA_NativeWindow); + VIEWFILTERFILE->windowHandle()->setTransientParent(MainWindow::Instance()->windowHandle()); kdk::WindowManager::setGeometry(MainWindow::Instance()->windowHandle(), QRect(qApp->desktop()->geometry().center() - MainWindow::Instance()->geometry().center(), QSize(MainWindow::Instance()->size()))); -- Gitee From c4787fbd5d85c61fc3a90be41992a5aa3c20082d Mon Sep 17 00:00:00 2001 From: zhoudisi Date: Mon, 15 Apr 2024 14:04:36 +0800 Subject: [PATCH 2/2] update changelog Signed-off-by: zhoudisi --- debian/changelog | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index c5c8391..58a74e3 100755 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +kylin-burner (3.2.0.1kylin1k32.01-ok16) nile; urgency=medium + + * BUG: 无 + * 需求号: 无 + * 其他改动说明: 修复某些弹窗没有设置父窗口问题 + * 其他改动影响域: 无 + + -- zhoudisi Mon, 15 Apr 2024 14:02:18 +0800 + kylin-burner (3.2.0.1kylin1k32.01-ok15) nile; urgency=medium * BUG: 无 -- Gitee