kylin-user-guide/fix-build-error-of-qdebug.patch
2023-08-15 15:13:34 +08:00

26 lines
776 B
Diff
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From bcca86a27c7bf6a9d192592de1104316a83c766a Mon Sep 17 00:00:00 2001
From: peijiankang <peijiankang@kylinos.cn>
Date: Tue, 15 Aug 2023 15:12:17 +0800
Subject: [PATCH] fix build error of qdebug
---
src/ipc/ipc_dbus.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ipc/ipc_dbus.cpp b/src/ipc/ipc_dbus.cpp
index b2f3877..5bcdd02 100644
--- a/src/ipc/ipc_dbus.cpp
+++ b/src/ipc/ipc_dbus.cpp
@@ -110,7 +110,7 @@ void IpcDbus::notifyGuideWidgetActive(QString appName)
// 这是一种比较友好的写法也可以用setArguments来实现
m << appName;
- bool bRet;
+ bool bRet = false;
// 发送Message
QDBusMessage response = QDBusConnection::sessionBus().call(m);
// 判断Method是否被正确返回
--
2.33.0