From 88b91b1fec752538beebca2fd92e62c8e03f32d4 Mon Sep 17 00:00:00 2001
From: Yuhang Zhao <zhaoyuhang@rankyee.com>
Date: 周二, 19 12月 2023 16:55:39 +0800
Subject: [PATCH] update win11 picture

---
 src/widgets/widgetitemdelegate.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/widgets/widgetitemdelegate.cpp b/src/widgets/widgetitemdelegate.cpp
index d838a0f..f6cb467 100644
--- a/src/widgets/widgetitemdelegate.cpp
+++ b/src/widgets/widgetitemdelegate.cpp
@@ -78,11 +78,11 @@
         return static_cast<const QWidget *>(host)->windowState();
     }
 
-    void WidgetItemDelegate::setWindowState(QObject *host, const Qt::WindowStates &state) const {
+    void WidgetItemDelegate::setWindowState(QObject *host, Qt::WindowStates state) const {
         static_cast<QWidget *>(host)->setWindowState(state);
     }
 
-    void WidgetItemDelegate::setCursorShape(QObject *host, const Qt::CursorShape shape) const {
+    void WidgetItemDelegate::setCursorShape(QObject *host, Qt::CursorShape shape) const {
         static_cast<QWidget *>(host)->setCursor(QCursor(shape));
     }
 
@@ -94,7 +94,7 @@
         return static_cast<const QWidget *>(host)->windowFlags();
     }
 
-    void WidgetItemDelegate::setWindowFlags(QObject *host, const Qt::WindowFlags &flags) const {
+    void WidgetItemDelegate::setWindowFlags(QObject *host, Qt::WindowFlags flags) const {
         static_cast<QWidget *>(host)->setWindowFlags(flags);
     }
 

--
Gitblit v1.9.1