removed debug log

preferencesAboutTextFull
Claudio Valerio 11 years ago
parent 8d4be60b9e
commit d6768f35ed
  1. 7
      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));

Loading…
Cancel
Save