From d59f4e1bb7972884eff879f7be6810b2b3310c85 Mon Sep 17 00:00:00 2001
From: leeffo <leeffo@yeah.net>
Date: Thu, 2 Feb 2023 16:38:14 +0800
Subject: [PATCH] feat: add setVersion

---
 src/frame/modules/systeminfo/systeminfowork.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/frame/modules/systeminfo/systeminfowork.cpp b/src/frame/modules/systeminfo/systeminfowork.cpp
index 20b280c..5b1ce99 100644
--- a/src/frame/modules/systeminfo/systeminfowork.cpp
+++ b/src/frame/modules/systeminfo/systeminfowork.cpp
@@ -167,6 +167,7 @@ void SystemInfoWork::activate()
         version = QString("%1 %2").arg(DSysInfo::productVersion())
                                   .arg(DSysInfo::productTypeString());
     }
+    m_model->setVersion(version);
     m_model->setType(QSysInfo::WordSize);
 
     if (m_systemInfo->isValid()) {
-- 
2.20.1

