optimize: use QTextEdit::insertFromMimeData to process pasting images #60

Closed
shunf4 wants to merge 1 commits from opt/mime_paste_img into messageFeed
shunf4 commented 7 months ago

Rather than listening on "Ctrl-V" and manipulating context menu, we have a better way to handle image pasting of message text edit box: QTextEdit::insertFromMimeData.

Also enables pasting file into message text edit box.

Rather than listening on "Ctrl-V" and manipulating context menu, we have a better way to handle image pasting of message text edit box: `QTextEdit::insertFromMimeData`. Also enables pasting file into message text edit box.
shunf4 added 1 commit 7 months ago
blue closed this pull request 6 months ago
Owner

I'm so sorry, I didn't mean to close it, looks like it did when I have removed the branch.
Do you think you can reopen this request?

I'm so sorry, I didn't mean to close it, looks like it did when I have removed the branch. Do you think you can reopen this request?
This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.