1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-07 02:23:19 +02:00

misc: cleanup

Change-Id: Id9226497f1c3f57ddbe2dbe5a10135b75b24474d
This commit is contained in:
Sébastien Blin 2022-08-01 17:12:37 -04:00
parent 0dd518bfe9
commit accada53f3
No known key found for this signature in database
GPG key ID: C894BB01EEB2A9A9
3 changed files with 4 additions and 3 deletions

View file

@ -145,7 +145,9 @@ Rectangle {
sourceComponent: MessageListView {
DropArea {
anchors.fill: parent
onDropped: chatViewFooter.setFilePathsToSend(drop.urls)
onDropped: function(drop) {
chatViewFooter.setFilePathsToSend(drop.urls)
}
}
}
}

View file

@ -62,7 +62,7 @@ Rectangle {
width: JamiTheme.filesToSendDelegateWidth
height: JamiTheme.filesToSendDelegateHeight
onRemoveFileButtonClicked: {
onRemoveFileButtonClicked: function(index) {
filesToSendListModel.removeFromPending(index)
}
}

View file

@ -24,7 +24,6 @@ import net.jami.Adapters 1.1
import net.jami.Constants 1.1
import net.jami.Enums 1.1
import net.jami.Models 1.1
import Qt.labs.lottieqt
import "../../commoncomponents"
import "../js/keyboardshortcuttablecreation.js" as KeyboardShortcutTableCreation