summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/DragAndDrop/TimelineDropSource.cpp
diff options
context:
space:
mode:
authorMahmoud Badri <mahmoud.badri@qt.io>2019-05-17 16:17:33 +0300
committerMahmoud Badri <mahmoud.badri@qt.io>2019-05-18 01:11:36 +0300
commit52092eb06cb659f661d757ae6c2351e58ebbdc1b (patch)
tree40a1377ee248dfb0138b557ca32283091a2faa0c /src/Authoring/Studio/DragAndDrop/TimelineDropSource.cpp
parent720567cad621718b1f9b4e0bf6189e2e9a3a81ce (diff)
Some Doc class clean ups (non exhaustive)
Change-Id: I98554bdb805df0e2418f44f8c9d6e0040b160f8b Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Diffstat (limited to 'src/Authoring/Studio/DragAndDrop/TimelineDropSource.cpp')
-rw-r--r--src/Authoring/Studio/DragAndDrop/TimelineDropSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Studio/DragAndDrop/TimelineDropSource.cpp b/src/Authoring/Studio/DragAndDrop/TimelineDropSource.cpp
index 765db415..ac4b5bd5 100644
--- a/src/Authoring/Studio/DragAndDrop/TimelineDropSource.cpp
+++ b/src/Authoring/Studio/DragAndDrop/TimelineDropSource.cpp
@@ -84,7 +84,7 @@ bool CTimeLineDropSource::CanCopy()
{
bool theReturn = false;
// This is here because some Assets can not be copied ( scene, material )
- theReturn = m_Copy && g_StudioApp.GetCore()->GetDoc()->CanCopyObject(m_Instances);
+ theReturn = m_Copy && g_StudioApp.GetCore()->GetDoc()->canCopyObjects(m_Instances);
return theReturn;
}