From 8186e031531b6e09e2c633c57d632a73786c6953 Mon Sep 17 00:00:00 2001
From: leeffo <leeffo@yeah.net>
Date: Wed, 4 Jan 2023 13:27:37 +0800
Subject: [PATCH] dde-control-center uos open activate button for 1050a

---
 src/frame/window/modules/systeminfo/nativeinfowidget.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/frame/window/modules/systeminfo/nativeinfowidget.cpp b/src/frame/window/modules/systeminfo/nativeinfowidget.cpp
index 754edd9..7c6c1b5 100644
--- a/src/frame/window/modules/systeminfo/nativeinfowidget.cpp
+++ b/src/frame/window/modules/systeminfo/nativeinfowidget.cpp
@@ -202,11 +202,12 @@ void NativeInfoWidget::initWidget()
     m_authorized->setValue(tr("To be activated"));
     m_authorized->setValueForegroundRole(QColor(255, 0, 0));
     m_authorized->setButtonText(tr("Activate"));
-    if (DSysInfo::uosEditionType() == DSysInfo::UosEnterpriseC) {
+    /*if (DSysInfo::uosEditionType() == DSysInfo::UosEnterpriseC) {
         m_authorized->setVisable(false);
     } else {
         m_authorized->setVisable(true);
-    }
+    }*/
+    m_authorized->setVisable(true);
 
     m_kernel = new TitleValueItem(frame);
     //~ contents_path /systeminfo/About This PC
-- 
2.20.1

