| 118 | } |
| 119 | |
| 120 | void UBDocument::copyPage(int fromIndex, std::shared_ptr<UBDocumentProxy> to, int toIndex) |
| 121 | { |
| 122 | UBPersistenceManager::persistenceManager()->copyDocumentScene(mProxy, fromIndex, to, toIndex); |
| 123 | |
| 124 | const auto toDocument = findDocument(to); |
| 125 | |
| 126 | if (toDocument) |
| 127 | { |
| 128 | toDocument->mThumbnailScene->insertThumbnail(toIndex); |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | void UBDocument::insertPage(std::shared_ptr<UBGraphicsScene> scene, int index, bool persist, bool deleting) |
| 133 | { |
no test coverage detected