summaryrefslogtreecommitdiffstats
path: root/src/core/file_picker_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_picker_controller.h')
-rw-r--r--src/core/file_picker_controller.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/file_picker_controller.h b/src/core/file_picker_controller.h
index bba0bae37..ec3b5ba1d 100644
--- a/src/core/file_picker_controller.h
+++ b/src/core/file_picker_controller.h
@@ -85,6 +85,9 @@ public Q_SLOTS:
private:
void filesSelectedInChooser(const QStringList &filesList);
FilePickerControllerPrivate *d_ptr;
+ // Using Quick, the FileSelectListenerImpl destructor may crash in debug mode
+ // if the browser window is closed and the FilePicker is still open
+ bool m_isHandled = false;
};
} // namespace QtWebEngineCore