!24 fix build error of qdebug
From: @peijiankang Reviewed-by: @hua_yadong Signed-off-by: @hua_yadong
This commit is contained in:
commit
671ff9593d
25
fix-build-error-of-qdebug.patch
Normal file
25
fix-build-error-of-qdebug.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
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
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: kylin-user-guide
|
Name: kylin-user-guide
|
||||||
Version: 1.0.5
|
Version: 1.0.5
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Smanual for UKUI desktop environment
|
Summary: Smanual for UKUI desktop environment
|
||||||
License: CC-BY-SA-4.0 and GPL-3.0-or-later
|
License: CC-BY-SA-4.0 and GPL-3.0-or-later
|
||||||
URL: http://www.ukui.org
|
URL: http://www.ukui.org
|
||||||
@ -8,6 +8,7 @@ Source0: %{name}-%{version}.tar.gz
|
|||||||
Source1: atril.tar.gz
|
Source1: atril.tar.gz
|
||||||
Patch02: 0002-Fix-kylin-user-guide-version-is-empty.patch
|
Patch02: 0002-Fix-kylin-user-guide-version-is-empty.patch
|
||||||
Patch03: 0003-Fix-no-response-of-interface.patch
|
Patch03: 0003-Fix-no-response-of-interface.patch
|
||||||
|
Patch04: fix-build-error-of-qdebug.patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
@ -85,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 15 2023 peijiankang <peijiankang@kylinos.cn> - 1.0.5-3
|
||||||
|
- add fix-build-error-of-qdebug.patch
|
||||||
|
|
||||||
* Fri Mar 03 2023 peijiankang <peijiankang@kylinos.cn> - 1.0.5-2
|
* Fri Mar 03 2023 peijiankang <peijiankang@kylinos.cn> - 1.0.5-2
|
||||||
- add the user guide of atril
|
- add the user guide of atril
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user