2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Version 1.3.7: Fix file dialog parent widget.

Regression was introduced in 67ea175fc6.

Fixes #4817.
This commit is contained in:
John Preston
2018-06-11 23:39:33 +03:00
parent b5bc7a22af
commit b0077d98f0

View File

@@ -199,6 +199,9 @@ bool Get(
const QString &filter, const QString &filter,
Type type, Type type,
QString startFile) { QString startFile) {
if (parent) {
parent = parent->window();
}
#ifndef TDESKTOP_DISABLE_GTK_INTEGRATION #ifndef TDESKTOP_DISABLE_GTK_INTEGRATION
if (NativeSupported()) { if (NativeSupported()) {
return GetNative( return GetNative(