diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2018-05-31 14:09:33 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@qt.io> | 2018-06-01 04:11:48 +0000 |
commit | 828c18fbe3b29d7e3571037f678ec43dd0ae1cba (patch) | |
tree | fff682ad098862e660e9900d9181ca75cff0bfa6 /src/Authoring/Studio/DragAndDrop/DropSource.cpp | |
parent | 8fc0026450fbd9c4591561874578001483cabacb (diff) |
Clean up old controls
Remove unused controls from Authoring/Studio/Controls and some
ancillary files elsewhere.
Task-number: QT3DS-1828
Change-Id: I6461112a02cc24ef0c169b3a99de26b034065040
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Authoring/Studio/DragAndDrop/DropSource.cpp')
-rw-r--r-- | src/Authoring/Studio/DragAndDrop/DropSource.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/Authoring/Studio/DragAndDrop/DropSource.cpp b/src/Authoring/Studio/DragAndDrop/DropSource.cpp index 190eb95a..ee1f003a 100644 --- a/src/Authoring/Studio/DragAndDrop/DropSource.cpp +++ b/src/Authoring/Studio/DragAndDrop/DropSource.cpp @@ -40,7 +40,6 @@ #include "ExplorerFileDropSource.h" #include "TimelineDropSource.h" #include "BasicObjectDropSource.h" -#include "ListBoxDropSource.h" #include "Views.h" #include "MainFrm.h" #include "TimelineWidget.h" @@ -85,10 +84,6 @@ CDropSource *CDropSourceFactory::Create(long inFlavor, IDragable *inDragable) { CDropSource *theDropSource(nullptr); switch (inFlavor) { - case QT3DS_FLAVOR_LISTBOX: - theDropSource = new CListBoxDropSource(inFlavor, inDragable); - break; - case QT3DS_FLAVOR_BASIC_OBJECTS: theDropSource = new CBasicObjectDropSource(inFlavor, inDragable); break; @@ -109,11 +104,6 @@ CDropSource *CDropSourceFactory::Extract(long inFlavor, void *inData, unsigned l CDropSource *theDropSource(nullptr); switch (inFlavor) { // For all of the Studio Flavors we just need to extract the dropsource out of it. - case QT3DS_FLAVOR_LISTBOX: - // make an Aset out of this. - theDropSource = static_cast<CListBoxDropSource *>(inData); - break; - case QT3DS_FLAVOR_BASIC_OBJECTS: // make an Aset out of this. theDropSource = static_cast<CBasicObjectDropSource *>(inData); |