feat: copy pasted image file to download folder after successful upload
This commit is contained in:
parent
52551c1ce0
commit
39f2f3d975
6 changed files with 34 additions and 5 deletions
|
@ -249,6 +249,10 @@ void Conversation::onImagePasted()
|
|||
tempFile->close();
|
||||
qDebug() << "image on paste temp file: " << tempFile->fileName();
|
||||
addAttachedFile(tempFile->fileName());
|
||||
|
||||
// The file, if successfully uploaded, will be copied to Download folder.
|
||||
// On application closing, this temporary file will be automatically removed by Qt.
|
||||
// See Core::NetworkAccess::onUploadFinished.
|
||||
}
|
||||
|
||||
void Conversation::onAttach()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue