summaryrefslogtreecommitdiffstats
path: root/src/file_chooser_portal.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2024-07-07 20:40:21 +0300
committerMavridis Philippe <[email protected]>2024-07-07 20:40:21 +0300
commitb8f8ce418e3b2bb00b6a5b4c75aebfb6e99147ef (patch)
tree1df3c198bdfb32a5a4d89548675759cbf2b9559e /src/file_chooser_portal.cpp
parent30af69c9c08df296d31c73f73ecb448a923fab72 (diff)
downloadxdg-desktop-portal-tde-b8f8ce418e3b2bb00b6a5b4c75aebfb6e99147ef.tar.gz
xdg-desktop-portal-tde-b8f8ce418e3b2bb00b6a5b4c75aebfb6e99147ef.zip
Code reorganization and some improvements borrowed from kdbusnotification
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/file_chooser_portal.cpp')
-rw-r--r--src/file_chooser_portal.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/file_chooser_portal.cpp b/src/file_chooser_portal.cpp
index 1d037ec..0a7b340 100644
--- a/src/file_chooser_portal.cpp
+++ b/src/file_chooser_portal.cpp
@@ -134,6 +134,11 @@ void TDEFileChooserPortal::handleMethodReply(const TQT_DBusMessage &reply)
m_connection.send(reply);
}
+bool TDEFileChooserPortal::handleSignalSend(const TQT_DBusMessage& reply) {
+ handleMethodReply(reply);
+ return true;
+}
+
bool TDEFileChooserPortal::execFileDialog(FileDialogOpts options,
const TQT_DBusObjectPath& handle,
TQ_UINT32& response,