diff -r 0b3b35f560f2 -r 83b8ed708909 src/documentmanager.cpp --- a/src/documentmanager.cpp Sun Mar 12 11:03:44 2017 +0200 +++ b/src/documentmanager.cpp Mon Mar 27 14:56:05 2017 +0300 @@ -192,11 +192,6 @@ return path; } -QString DocumentManager::findDocumentPath (QString relativePath) -{ - return m_libraries.find(relativePath); -} - void DocumentManager::loadFileContents(QIODevice* input, Model& model, int* numWarnings, bool* ok) { if (numWarnings) @@ -235,7 +230,7 @@ if (search) { print ("Opening %1...\n", path.toLower()); - fullpath = findDocumentPath(path.toLower()); + fullpath = m_libraries.find(path.toLower()); if (fullpath.isEmpty()) return nullptr;