Commit 36eecddb authored by Jonas Eymann's avatar Jonas Eymann Committed by Nate Graham
Browse files

RemoteDesktopDialog: fix "withTouch" property mismatch

In RemoteDesktopDialog.qml, the property is called "withTouch".
Due to the mismatch, the whole dialog was not displayed as the property
could not be set.
parent bb35b817
Pipeline #194914 passed with stage
in 3 minutes and 14 seconds
......@@ -32,7 +32,7 @@ RemoteDesktopDialog::RemoteDesktopDialog(const QString &appName,
{"withMultipleScreenSharing", multiple},
{"withKeyboard", deviceTypes.testFlag(RemoteDesktopPortal::Keyboard)},
{"withPointer", deviceTypes.testFlag(RemoteDesktopPortal::Pointer)},
{"withTouchScreen", deviceTypes.testFlag(RemoteDesktopPortal::TouchScreen)},
{"withTouch", deviceTypes.testFlag(RemoteDesktopPortal::TouchScreen)},
const QString applicationName = Utils::applicationName(appName);
......@@ -61,7 +61,7 @@ RemoteDesktopPortal::DeviceTypes RemoteDesktopDialog::deviceTypes() const
types |= RemoteDesktopPortal::Keyboard;
if (m_theDialog->property("withPointer").toBool())
types |= RemoteDesktopPortal::Pointer;
if (m_theDialog->property("withTouchScreen").toBool())
if (m_theDialog->property("withTouch").toBool())
types |= RemoteDesktopPortal::TouchScreen;
return types;
Supports Markdown
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