-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[usb-moded] fix qdbusxml2cpp error see sailfishos/usb-moded#14
- Loading branch information
Showing
2 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
usb-moded/0002-usb_moded-dbus-interface-should-define-either-direct.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 654576eeb6424808ee8d782bad1cceb18bc85d56 Mon Sep 17 00:00:00 2001 | ||
From: Jozef Mlich <[email protected]> | ||
Date: Mon, 24 Jul 2023 17:12:01 +0000 | ||
Subject: [PATCH] usb_moded-dbus interface should define either direction or | ||
add annotation for both | ||
|
||
--- | ||
src/usb_moded-dbus.c | 3 ++- | ||
1 file changed, 2 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/src/usb_moded-dbus.c b/src/usb_moded-dbus.c | ||
index 537a866..22a5451 100644 | ||
--- a/src/usb_moded-dbus.c | ||
+++ b/src/usb_moded-dbus.c | ||
@@ -1032,7 +1032,8 @@ static const member_info_t usb_moded_members[] = | ||
" <arg name=\"mode\" type=\"s\"/>\n"), | ||
ADD_SIGNAL(USB_MODE_TARGET_CONFIG_SIGNAL_NAME, | ||
" <arg name=\"config\" type=\"a{sv}\"/>\n" | ||
- " <annotation name=\"org.qtproject.QtDBus.QtTypeName.In0\" value=\"QVariantMap\"/>\n"), | ||
+ " <annotation name=\"org.qtproject.QtDBus.QtTypeName.In0\" value=\"QVariantMap\"/>\n" | ||
+ " <annotation name=\"org.qtproject.QtDBus.QtTypeName.Out0\" value=\"QVariantMap\"/>\n"), | ||
ADD_SIGNAL(USB_MODE_EVENT_SIGNAL_NAME, | ||
" <arg name=\"event\" type=\"s\"/>\n"), | ||
ADD_SIGNAL(USB_MODE_CONFIG_SIGNAL_NAME, | ||
-- | ||
2.41.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters