From 22611af8c0394ef4b1b057c5d683c30c16ae5777 Mon Sep 17 00:00:00 2001
From: peijiankang <peijiankang@kylinos.cn>
Date: Fri, 3 Mar 2023 15:56:13 +0800
Subject: [PATCH] Repair the user guide does not work

---
 src/model/logicmain.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/model/logicmain.cpp b/src/model/logicmain.cpp
index 16a6f5a..7931ae2 100644
--- a/src/model/logicmain.cpp
+++ b/src/model/logicmain.cpp
@@ -50,7 +50,7 @@ LogicMain::LogicMain(QObject *parent) :
     pwd = getpwuid(getuid());
 
     msg = QDBusMessage::createMethodCall( QString("com.kylinUserGuide.hotel_%1")
-                                          .arg(pwd->pw_gid),"/", "com.guide.hotel",
+                                          .arg(pwd->pw_uid),"/", "com.guide.hotel",
                                           "showGuide");
     f.setFile("/usr/share/kylin-user-guide/data/guide/kylin-burner");
     msg << "kylin-burner";
-- 
2.33.0

