Changeset View
Changeset View
Standalone View
Standalone View
src/bin/bin.cpp
Context not available. | |||||
2827 | { | 2827 | { | ||
---|---|---|---|---|---|
2828 | QStringList folderInfo; | 2828 | QStringList folderInfo; | ||
2829 | if (parent.isValid()) { | 2829 | if (parent.isValid()) { | ||
2830 | // Check if drop occured on a folder | 2830 | // Check if drop occurred on a folder | ||
2831 | AbstractProjectItem *parentItem = static_cast<AbstractProjectItem *>(parent.internalPointer()); | 2831 | AbstractProjectItem *parentItem = static_cast<AbstractProjectItem *>(parent.internalPointer()); | ||
2832 | while (parentItem->itemType() != AbstractProjectItem::FolderItem) { | 2832 | while (parentItem->itemType() != AbstractProjectItem::FolderItem) { | ||
2833 | parentItem = parentItem->parent(); | 2833 | parentItem = parentItem->parent(); | ||
Context not available. | |||||
2955 | } | 2955 | } | ||
2956 | } | 2956 | } | ||
2957 | 2957 | | |||
2958 | // First occurence of a producer, so allocate new bin clip producer ID. | 2958 | // First occurrence of a producer, so allocate new bin clip producer ID. | ||
2959 | QString newId = QString::number(getFreeClipId()); | 2959 | QString newId = QString::number(getFreeClipId()); | ||
2960 | idMap.insert(originalId, newId); | 2960 | idMap.insert(originalId, newId); | ||
2961 | qCDebug(KDENLIVE_LOG) << "originalId: " << originalId << ", newId: " << newId; | 2961 | qCDebug(KDENLIVE_LOG) << "originalId: " << originalId << ", newId: " << newId; | ||
Context not available. |