FileChooser portal: send window id in hex
We send window id in decimal, however, it is expected to be send in hex. This causes a mismatch and makes portal dialog to show in background. Pick-to: 5.15 6.0 6.1 Change-Id: Ibd77199bbb4a2ad4782a0457ddc5506c6b5608fe Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
d2d957ff67
commit
acaabc9108
@ -185,7 +185,7 @@ void QXdgDesktopPortalFileDialog::openPortal()
|
||||
QLatin1String("/org/freedesktop/portal/desktop"),
|
||||
QLatin1String("org.freedesktop.portal.FileChooser"),
|
||||
d->saveFile ? QLatin1String("SaveFile") : QLatin1String("OpenFile"));
|
||||
QString parentWindowId = QLatin1String("x11:") + QString::number(d->winId);
|
||||
QString parentWindowId = QLatin1String("x11:") + QString::number(d->winId, 16);
|
||||
|
||||
QVariantMap options;
|
||||
if (!d->acceptLabel.isEmpty())
|
||||
|
Loading…
Reference in New Issue
Block a user