From 3d4832b7c8e4329324f1423d97be68d8de6e19e8 Mon Sep 17 00:00:00 2001
From: liuxinhao <liuxinhao@kylinsec.com.cn>
Date: Fri, 4 Nov 2022 10:16:31 +0800
Subject: [PATCH] fix(build): Adapt to kiran-widgets-qt5 interface upgrade
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- 适配kiran-widgets-qt5接口升级,解决编译问题
---
 src/widgets/lineedit-with-checkicon.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/widgets/lineedit-with-checkicon.cpp b/src/widgets/lineedit-with-checkicon.cpp
index ede5cbb..7728e1d 100644
--- a/src/widgets/lineedit-with-checkicon.cpp
+++ b/src/widgets/lineedit-with-checkicon.cpp
@@ -47,7 +47,7 @@ void LineEditWithCheckIcon::initUI()
 {
     setContextMenuPolicy(Qt::NoContextMenu);
     setIconSize(QSize(16, 16));
-    setIconPosition(Kiran::ICON_POSITION_RIGHT);
+    setIconPosition(KiranIconLineEdit::ICON_POSITION_RIGHT);
     setAlignment(Qt::AlignLeft | Qt::AlignVCenter);
     connect(this, &QLineEdit::textChanged, [this](const QString &text) {
         ///密码框输入密码不为空的情况下调整字体和字间距
-- 
2.33.0

