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:
parent
0dd518bfe9
commit
accada53f3
3 changed files with 4 additions and 3 deletions
|
@ -145,7 +145,9 @@ Rectangle {
|
|||
sourceComponent: MessageListView {
|
||||
DropArea {
|
||||
anchors.fill: parent
|
||||
onDropped: chatViewFooter.setFilePathsToSend(drop.urls)
|
||||
onDropped: function(drop) {
|
||||
chatViewFooter.setFilePathsToSend(drop.urls)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ Rectangle {
|
|||
width: JamiTheme.filesToSendDelegateWidth
|
||||
height: JamiTheme.filesToSendDelegateHeight
|
||||
|
||||
onRemoveFileButtonClicked: {
|
||||
onRemoveFileButtonClicked: function(index) {
|
||||
filesToSendListModel.removeFromPending(index)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue