|
|
@ -236,8 +236,6 @@ int UBDocumentManager::addFilesToDocument(UBDocumentProxy* document, QStringList |
|
|
|
UBGraphicsScene* scene = UBPersistenceManager::persistenceManager()->createDocumentSceneAt(document, pageIndex); |
|
|
|
UBGraphicsScene* scene = UBPersistenceManager::persistenceManager()->createDocumentSceneAt(document, pageIndex); |
|
|
|
importAdaptor->placeImportedItemToScene(scene, page); |
|
|
|
importAdaptor->placeImportedItemToScene(scene, page); |
|
|
|
UBPersistenceManager::persistenceManager()->persistDocumentScene(document, scene, pageIndex); |
|
|
|
UBPersistenceManager::persistenceManager()->persistDocumentScene(document, scene, pageIndex); |
|
|
|
|
|
|
|
|
|
|
|
// TODO: Add an empty pixmap for the thumbnail here
|
|
|
|
|
|
|
|
UBApplication::boardController->addEmptyThumbPage(); |
|
|
|
UBApplication::boardController->addEmptyThumbPage(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|