From 8a6acd1d868a6c30a2d40f699f0bcb688fed0558 Mon Sep 17 00:00:00 2001 From: SyldraTheCat Date: Mon, 13 Jun 2022 11:16:49 +0000 Subject: Subtle corrections to paste behaviors --- src/timeline/InputBar.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/timeline/InputBar.h') diff --git a/src/timeline/InputBar.h b/src/timeline/InputBar.h index 28a4bcf6..816d4e37 100644 --- a/src/timeline/InputBar.h +++ b/src/timeline/InputBar.h @@ -190,8 +190,8 @@ public slots: [[nodiscard]] bool containsAtRoom() const { return containsAtRoom_; } void send(); - void paste(bool fromMouse); - void insertMimeData(const QMimeData *data); + bool tryPasteAttachment(bool fromMouse); + bool insertMimeData(const QMimeData *data); void updateState(int selectionStart, int selectionEnd, int cursorPosition, const QString &text); void openFileSelection(); [[nodiscard]] bool uploading() const { return uploading_; } @@ -212,7 +212,6 @@ private slots: void removeRunUpload(MediaUpload *upload); signals: - void insertText(QString text); void textChanged(QString newText); void uploadingChanged(bool value); void containsAtRoomChanged(); -- cgit 1.5.1