Disable DropArea in flatpak

The droparea doesn't support flatpak and dropping something leads to a crash

BUG: 455990
This commit is contained in:
Tobias Fella
2022-11-26 15:30:11 +01:00
parent c96d894714
commit 99ad4130d9
3 changed files with 12 additions and 0 deletions

View File

@@ -389,6 +389,7 @@ Kirigami.ScrollablePage {
id: dropAreaFile
anchors.fill: parent
onDropped: currentRoom.chatBoxAttachmentPath = drop.urls[0];
enabled: !Controller.isFlatpak
}
QQC2.Pane {