diff options
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-rw-r--r-- | src/timeline/TimelineModel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index 8e8f72ce..3e3434b4 100644 --- a/src/timeline/TimelineModel.cpp +++ b/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); }); |