From ee876856c215fecd1a18e1ff242c4f90b6b839c3 Mon Sep 17 00:00:00 2001 From: RigoLigo <rigoligo03@gmail.com> Date: Sat, 6 Aug 2022 22:44:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E4=B8=BB=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E7=82=B9=E9=93=BE=E6=8E=A5=E5=90=8E=E9=BC=A0=E6=A0=87?= =?UTF-8?q?=E7=A7=BB=E5=88=B0=E7=AA=97=E5=8F=A3=E6=93=8D=E4=BD=9C=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E5=90=8E=E7=AA=97=E5=8F=A3=E4=BD=8D=E7=A7=BB=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gui/page/spkpagehome.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gui/page/spkpagehome.cpp b/gui/page/spkpagehome.cpp index 54f3605..089f059 100644 --- a/gui/page/spkpagehome.cpp +++ b/gui/page/spkpagehome.cpp @@ -29,6 +29,10 @@ void SpkUi::SpkPageHome::SetupUi() ui->lblNewAnnouncement->setVisible(false); + // Click event will propagate to the main window and cause the window to move when + // mouse enters the zoom & move detection area. Disable mouse event propagation. + ui->lblAuthor->setAttribute(Qt::WA_NoMousePropagation, true); + ui->widReloadCategory->setVisible(false); ui->widReloadCategory->setAttribute(Qt::WA_StyledBackground); ui->lblCategoryErrIcon->setPixmap(QIcon::fromTheme("dialog-error").pixmap(QSize(32, 32)));