summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNepNep21 <nepnep91@protonmail.com>2024-04-23 19:58:14 -0300
committerNepNep21 <nepnep91@protonmail.com>2024-04-23 19:58:14 -0300
commit4810c2a2bc1d6977b9fc0f1e7c88b8c2baee4580 (patch)
treee3845290567ca615dffc6bf10b0509d7e6adf76f /src
parentFix image copying on windows (diff)
downloadnheko-4810c2a2bc1d6977b9fc0f1e7c88b8c2baee4580.tar.xz
Lint
Diffstat (limited to 'src')
-rw-r--r--src/timeline/TimelineModel.cpp3
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); });