Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 57b21790 authored by Jan Grulich's avatar Jan Grulich

Set parent window for remote desktop dialog

parent f715cc4a
......@@ -21,6 +21,7 @@
#include "remotedesktop.h"
#include "session.h"
#include "remotedesktopdialog.h"
#include "utils.h"
#include "waylandintegration.h"
#include <QLoggingCategory>
......@@ -121,6 +122,7 @@ uint RemoteDesktopPortal::Start(const QDBusObjectPath &handle,
}
QScopedPointer<RemoteDesktopDialog, QScopedPointerDeleteLater> remoteDesktopDialog(new RemoteDesktopDialog(app_id, session->deviceTypes(), session->screenSharingEnabled(), session->multipleSources()));
Utils::setParentWindow(remoteDesktopDialog.data(), parent_window);
if (remoteDesktopDialog->exec()) {
if (session->screenSharingEnabled()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment