From d6768f35ede1658db7b97e188e59e8ad0a14f544 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Fri, 26 Jul 2013 09:08:00 +0200 Subject: [PATCH] removed debug log --- src/core/UBPersistenceManager.cpp | 7 ------- 1 file changed, 7 deletions(-) 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));