Changeset View
Changeset View
Standalone View
Standalone View
src/remotedesktop.cpp
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | 45 | { | |||
---|---|---|---|---|---|
50 | qCDebug(XdgDesktopPortalKdeRemoteDesktop) << " options: " << options; | 50 | qCDebug(XdgDesktopPortalKdeRemoteDesktop) << " options: " << options; | ||
51 | 51 | | |||
52 | Session *session = Session::createSession(this, Session::RemoteDesktop, app_id, session_handle.path()); | 52 | Session *session = Session::createSession(this, Session::RemoteDesktop, app_id, session_handle.path()); | ||
53 | 53 | | |||
54 | if (!session) { | 54 | if (!session) { | ||
55 | return 2; | 55 | return 2; | ||
56 | } | 56 | } | ||
57 | 57 | | |||
58 | connect(session, &Session::closed, [this] () { | 58 | connect(session, &Session::closed, [] () { | ||
59 | WaylandIntegration::stopStreaming(); | 59 | WaylandIntegration::stopAllStreaming(); | ||
60 | }); | 60 | }); | ||
61 | 61 | | |||
62 | return 0; | 62 | return 0; | ||
63 | } | 63 | } | ||
64 | 64 | | |||
65 | uint RemoteDesktopPortal::SelectDevices(const QDBusObjectPath &handle, | 65 | uint RemoteDesktopPortal::SelectDevices(const QDBusObjectPath &handle, | ||
66 | const QDBusObjectPath &session_handle, | 66 | const QDBusObjectPath &session_handle, | ||
67 | const QString &app_id, | 67 | const QString &app_id, | ||
▲ Show 20 Lines • Show All 244 Lines • Show Last 20 Lines |