mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-24 21:18:45 +08:00
16 lines
631 B
Diff
16 lines
631 B
Diff
diff --git a/src/remotedesktop.cpp b/src/remotedesktop.cpp
|
|
index 9c27b10..100d6f3 100644
|
|
--- a/src/remotedesktop.cpp
|
|
+++ b/src/remotedesktop.cpp
|
|
@@ -136,10 +136,6 @@ uint RemoteDesktopPortal::Start(const QDBusObjectPath &handle,
|
|
Utils::setParentWindow(remoteDesktopDialog->windowHandle(), parent_window);
|
|
Request::makeClosableDialogRequest(handle, remoteDesktopDialog.get());
|
|
connect(session, &Session::closed, remoteDesktopDialog.data(), &RemoteDesktopDialog::reject);
|
|
-
|
|
- if (!remoteDesktopDialog->exec()) {
|
|
- return 1;
|
|
- }
|
|
}
|
|
|
|
if (session->screenSharingEnabled()) {
|