pull/1708/head
NepNep21 7 months ago
parent 3f05df19a1
commit 4810c2a2bc
No known key found for this signature in database
GPG Key ID: 60372BB5B7534B09
  1. 3
      src/timeline/TimelineModel.cpp

@ -2034,7 +2034,8 @@ TimelineModel::copyMedia(const QString &eventId) const
clipContents->setImageData(img);
}
// Qt uses COM for clipboard management on windows and our HTTP threads do not initialize it, so run in the event loop
// Qt uses COM for clipboard management on windows and our HTTP threads do not
// initialize it, so run in the event loop
QTimer::singleShot(0, ChatPage::instance(), [clipContents] {
QGuiApplication::clipboard()->setMimeData(clipContents);
});

Loading…
Cancel
Save