Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix keyframe copy-pasting on qt6

Luna Lovecraftb0810e278ae8
diff --git a/plugins/dockers/animation/KisAnimTimelineFramesModel.cpp b/plugins/dockers/animation/KisAnimTimelineFramesModel.cpp
index 77deb9612f..dc97ef4a28 100644
--- a/plugins/dockers/animation/KisAnimTimelineFramesModel.cpp
+++ b/plugins/dockers/animation/KisAnimTimelineFramesModel.cpp
@@ -616,7 +616,7 @@ QMimeData *KisAnimTimelineFramesModel::mimeDataExtended(const QModelIndexList &i
stream << int(uuidDataRoot.size());
stream.writeRawData(uuidDataRoot.data(), uuidDataRoot.size());
- stream << indexes.size();
+ stream << int(indexes.size());
stream << baseRow << baseColumn;
Q_FOREACH (const QModelIndex &index, indexes) {