Skip to content
Snippets Groups Projects
Unverified Commit accada53 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

misc: cleanup

Change-Id: Id9226497f1c3f57ddbe2dbe5a10135b75b24474d
parent 0dd518bf
No related branches found
No related tags found
No related merge requests found
...@@ -145,7 +145,9 @@ Rectangle { ...@@ -145,7 +145,9 @@ Rectangle {
sourceComponent: MessageListView { sourceComponent: MessageListView {
DropArea { DropArea {
anchors.fill: parent anchors.fill: parent
onDropped: chatViewFooter.setFilePathsToSend(drop.urls) onDropped: function(drop) {
chatViewFooter.setFilePathsToSend(drop.urls)
}
} }
} }
} }
......
...@@ -62,7 +62,7 @@ Rectangle { ...@@ -62,7 +62,7 @@ Rectangle {
width: JamiTheme.filesToSendDelegateWidth width: JamiTheme.filesToSendDelegateWidth
height: JamiTheme.filesToSendDelegateHeight height: JamiTheme.filesToSendDelegateHeight
onRemoveFileButtonClicked: { onRemoveFileButtonClicked: function(index) {
filesToSendListModel.removeFromPending(index) filesToSendListModel.removeFromPending(index)
} }
} }
......
...@@ -24,7 +24,6 @@ import net.jami.Adapters 1.1 ...@@ -24,7 +24,6 @@ import net.jami.Adapters 1.1
import net.jami.Constants 1.1 import net.jami.Constants 1.1
import net.jami.Enums 1.1 import net.jami.Enums 1.1
import net.jami.Models 1.1 import net.jami.Models 1.1
import Qt.labs.lottieqt
import "../../commoncomponents" import "../../commoncomponents"
import "../js/keyboardshortcuttablecreation.js" as KeyboardShortcutTableCreation import "../js/keyboardshortcuttablecreation.js" as KeyboardShortcutTableCreation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment