diff --git a/src/core/UBPersistenceManager.cpp b/src/core/UBPersistenceManager.cpp index 8d432d80..ab267208 100644 --- a/src/core/UBPersistenceManager.cpp +++ b/src/core/UBPersistenceManager.cpp @@ -516,7 +516,6 @@ void UBPersistenceManager::duplicateDocumentScene(UBDocumentProxy* proxy, int in QUuid newUUid = QUuid::createUuid(); QString newUUidString = newUUid.toString().remove("{").remove("}"); QString actualUuidString = widget->uuid().toString().remove("{").remove("}"); - qDebug() << actualUuidString; QString widgetSourcePath = proxy->persistencePath() + "/" + UBPersistenceManager::widgetDirectory + "/{" + actualUuidString + "}.wgt"; QString screenshotSourcePath = proxy->persistencePath() + "/" + UBPersistenceManager::widgetDirectory + "/" + actualUuidString + ".png"; @@ -526,12 +525,6 @@ void UBPersistenceManager::duplicateDocumentScene(UBDocumentProxy* proxy, int in QString screenshotDestinationPath = screenshotSourcePath; screenshotDestinationPath = screenshotDestinationPath.replace(actualUuidString,newUUidString); - - qDebug() << "widgetSourcePath " << widgetSourcePath; - qDebug() << "widgetDestinationPath " << widgetDestinationPath; - qDebug() << "screenshotSourcePath " << screenshotSourcePath; - qDebug() << "screenshotDestinationPath " << screenshotDestinationPath; - Q_ASSERT(UBFileSystemUtils::copyDir(widgetSourcePath,widgetDestinationPath)); Q_ASSERT(QFile::copy(screenshotSourcePath,screenshotDestinationPath));