fixed path problem

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 73cbdb8fb3
commit be1d2bcc27
  1. 6
      src/core/UBPersistenceManager.cpp

@ -847,11 +847,7 @@ QString UBPersistenceManager::teacherGuideAbsoluteObjectPath(UBDocumentProxy* pD
QString UBPersistenceManager::addObjectToTeacherGuideDirectory(UBDocumentProxy* pDocumentProxy, QString pPath)
{
QString path = pPath;
//windows
//path=path.replace("file:///","");
//others
path=path.replace("file://","");
QString path = UBFileSystemUtils::removeLocalFilePrefix(pPath);
QFileInfo fi(path);
QString uuid = QUuid::createUuid();

Loading…
Cancel
Save