From e1ee99a211346763d35f55ef366d81a3bdb759f5 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Wed, 10 Aug 2011 18:16:58 +0200 Subject: [PATCH] Added fixes for audio and video path. On sankore 3.1 version 1.0.0 the absolute path has been introduced. Big mistake --- src/core/UBPersistenceManager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/UBPersistenceManager.cpp b/src/core/UBPersistenceManager.cpp index 50ffdcfb..3987f615 100644 --- a/src/core/UBPersistenceManager.cpp +++ b/src/core/UBPersistenceManager.cpp @@ -866,7 +866,7 @@ QString UBPersistenceManager::addVideoFileToDocument(UBDocumentProxy* pDocumentP } - return destPath; + return fileName; } @@ -898,7 +898,7 @@ QString UBPersistenceManager::addVideoFileToDocument(UBDocumentProxy* pDocumentP } } - return destPath; + return fileName; } @@ -926,7 +926,7 @@ QString UBPersistenceManager::addAudioFileToDocument(UBDocumentProxy* pDocumentP } - return destPath; + return fileName; } @@ -958,7 +958,7 @@ QString UBPersistenceManager::addAudioFileToDocument(UBDocumentProxy* pDocumentP } } - return destPath; + return fileName; }