Commit be1d2bcc authored by Claudio Valerio's avatar Claudio Valerio

fixed path problem

parent 73cbdb8f
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment