From ec10a0d33f0df8f9a8799afc5f05624d5a5817a1 Mon Sep 17 00:00:00 2001 From: Aleksei Kanash Date: Thu, 9 Feb 2012 13:10:52 +0200 Subject: [PATCH] Fix for SANKORE-347 --- src/adaptors/UBImportAdaptor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adaptors/UBImportAdaptor.cpp b/src/adaptors/UBImportAdaptor.cpp index b09ba0ff..0770fa39 100644 --- a/src/adaptors/UBImportAdaptor.cpp +++ b/src/adaptors/UBImportAdaptor.cpp @@ -35,7 +35,7 @@ UBImportAdaptor::~UBImportAdaptor() UBDocumentProxy* UBImportAdaptor::importFile(const QFile& pFile, const QString& pGroup) { - QString documentName = QFileInfo(pFile.fileName()).baseName(); + QString documentName = QFileInfo(pFile.fileName()).completeBaseName(); UBDocumentProxy* newDocument = UBPersistenceManager::persistenceManager()->createDocument(pGroup, documentName);