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:
@@ -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(
|
||||||
|
Reference in New Issue
Block a user