From 34311e4d4801fd87b1741631b57ade84de49a529 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Fri, 5 Mar 2021 01:30:59 +0100 Subject: [PATCH] Fix "Choose local file" does nothing An import was wrong. Fix #286 --- imports/NeoChat/Page/RoomPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/NeoChat/Page/RoomPage.qml b/imports/NeoChat/Page/RoomPage.qml index f375aad3f..9dce8ca07 100644 --- a/imports/NeoChat/Page/RoomPage.qml +++ b/imports/NeoChat/Page/RoomPage.qml @@ -187,7 +187,7 @@ Kirigami.ScrollablePage { onClicked: { attachDialog.close() - var fileDialog = openFileDialog.createObject(ApplicationWindow.overlay) + var fileDialog = openFileDialog.createObject(QQC2.ApplicationWindow.overlay) fileDialog.chosen.connect(function(path) { if (!path) return