From 263559ccfd3615ed1f7f733456f73c54ef364101 Mon Sep 17 00:00:00 2001
From: leeffo <leeffo@yeah.net>
Date: Wed, 1 Feb 2023 13:40:57 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=B3=E9=97=AD=E7=AA=97=E5=8F=A3?=
 =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E6=97=B6=E5=90=AF=E7=94=A8=E9=80=8F=E6=98=8E?=
 =?UTF-8?q?=E7=89=B9=E6=95=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../window/modules/personalization/personalizationgeneral.cpp   | 2 ++
 .../window/modules/personalization/personalizationgeneral.h     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/frame/window/modules/personalization/personalizationgeneral.cpp b/src/frame/window/modules/personalization/personalizationgeneral.cpp
index 13e7b65..137c165 100644
--- a/src/frame/window/modules/personalization/personalizationgeneral.cpp
+++ b/src/frame/window/modules/personalization/personalizationgeneral.cpp
@@ -493,11 +493,13 @@ void PersonalizationGeneral::paintEvent(QPaintEvent *event)
     }
 }
 
+#if 0
 void PersonalizationGeneral::resizeEvent(QResizeEvent *event)
 {
     m_windowMovedLabel->setText(QFontMetrics(m_windowMovedLabel->font()).elidedText(m_displayData, Qt::ElideRight, event->size().width() >= 430 ? 500 : 280));
     QWidget::resizeEvent(event);
 }
+#endif
 
 void PersonalizationGeneral::updateActiveColors(RoundColorWidget *selectedWidget)
 {
diff --git a/src/frame/window/modules/personalization/personalizationgeneral.h b/src/frame/window/modules/personalization/personalizationgeneral.h
index b4856bb..00809fa 100644
--- a/src/frame/window/modules/personalization/personalizationgeneral.h
+++ b/src/frame/window/modules/personalization/personalizationgeneral.h
@@ -76,7 +76,9 @@ public:
 
 protected:
     void paintEvent(QPaintEvent *event);
+#if 0
     void resizeEvent(QResizeEvent *event) override;
+#endif
 
 private:
     void updateActiveColors(RoundColorWidget *selectedWidget);
-- 
2.20.1

