26 lines
776 B
Diff
26 lines
776 B
Diff
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
|
||
|