Commit 9d21875c authored by Claudio Valerio's avatar Claudio Valerio

fixed issue 1115

parent cd010590
...@@ -913,7 +913,7 @@ bool UBPersistenceManager::addFileToDocument(UBDocumentProxy* pDocumentProxy, ...@@ -913,7 +913,7 @@ bool UBPersistenceManager::addFileToDocument(UBDocumentProxy* pDocumentProxy,
QString& destinationPath, QString& destinationPath,
QByteArray* data) QByteArray* data)
{ {
QAssert(path.length()); Q_ASSERT(path.length());
QFileInfo fi(path); QFileInfo fi(path);
if (!pDocumentProxy || objectUuid.isNull()) if (!pDocumentProxy || objectUuid.isNull())
......
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