diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-03-27 09:18:31 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-03-27 09:18:31 +0200 |
commit | 607cc271522d81afe858799686a5595c85ca1972 (patch) | |
tree | 7a800ae7918dcd9b1da9eb90d47294fa17416549 /platform/linuxbsd/freedesktop_portal_desktop.h | |
parent | 7d151c83811f8ac8873439826c16d88c83aba12f (diff) | |
download | redot-engine-607cc271522d81afe858799686a5595c85ca1972.tar.gz |
[Linux/Portal] Fix incorrect DBus connection usage.
Diffstat (limited to 'platform/linuxbsd/freedesktop_portal_desktop.h')
-rw-r--r-- | platform/linuxbsd/freedesktop_portal_desktop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linuxbsd/freedesktop_portal_desktop.h b/platform/linuxbsd/freedesktop_portal_desktop.h index 75afe02a26..ba9c352e62 100644 --- a/platform/linuxbsd/freedesktop_portal_desktop.h +++ b/platform/linuxbsd/freedesktop_portal_desktop.h @@ -60,9 +60,9 @@ private: struct FileDialogData { Vector<String> filter_names; - DBusConnection *connection = nullptr; DisplayServer::WindowID prev_focus = DisplayServer::INVALID_WINDOW_ID; Callable callback; + String filter; String path; bool opt_in_cb = false; }; @@ -71,8 +71,8 @@ private: Vector<FileDialogData> file_dialogs; Thread monitor_thread; SafeFlag monitor_thread_abort; + DBusConnection *monitor_connection = nullptr; - DBusConnection *theme_connection = nullptr; String theme_path; Callable system_theme_changed; void _system_theme_changed_callback(); |