|
|
|
@ -645,7 +645,7 @@ void UBBoardController::duplicateItem(UBItem *item) |
|
|
|
|
{
|
|
|
|
|
mActiveScene->addItem(gitem); |
|
|
|
|
gitem->setPos(itemPos); |
|
|
|
|
mLastCreatedItem = gitem; |
|
|
|
|
mLastCreatedItem = gitem; |
|
|
|
|
gitem->setSelected(true); |
|
|
|
|
} |
|
|
|
|
return; |
|
|
|
@ -1132,7 +1132,7 @@ UBItem *UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QStri |
|
|
|
|
|
|
|
|
|
QString destFile; |
|
|
|
|
bool b = UBPersistenceManager::persistenceManager()->addFileToDocument(selectedDocument(),
|
|
|
|
|
"",
|
|
|
|
|
sourceUrl.toString(), |
|
|
|
|
UBPersistenceManager::videoDirectory, |
|
|
|
|
uuid, |
|
|
|
|
destFile, |
|
|
|
@ -1175,7 +1175,7 @@ UBItem *UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QStri |
|
|
|
|
|
|
|
|
|
QString destFile; |
|
|
|
|
bool b = UBPersistenceManager::persistenceManager()->addFileToDocument(selectedDocument(),
|
|
|
|
|
"",
|
|
|
|
|
sourceUrl.toString(), |
|
|
|
|
UBPersistenceManager::audioDirectory, |
|
|
|
|
uuid, |
|
|
|
|
destFile, |
|
|
|
|