From e24a1b4541180f854b5d5ea4560dd07eb360863b Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Fri, 5 Mar 2021 00:30:59 +0000 Subject: [PATCH] Fix "Choose local file" does nothing An import was wrong. Fix #286 (cherry picked from commit 34311e4d4801fd87b1741631b57ade84de49a529) --- 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 2024a3e92..975312747 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