diff --git a/HydroCoupleComposer.pro b/HydroCoupleComposer.pro index e666dad..302a69b 100755 --- a/HydroCoupleComposer.pro +++ b/HydroCoupleComposer.pro @@ -4,8 +4,8 @@ #License GNU Lesser General Public License (see for details). TEMPLATE = app VERSION_MAJOR = 1 -VERSION_MINOR = 2 -VERSION_BUILD = 4 +VERSION_MINOR = 4 +VERSION_BUILD = 0 VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}.$${VERSION_BUILD} TARGET = HydroCoupleComposer QT += core widgets gui printsupport concurrent opengl xml diff --git a/src/gmodelcomponent.cpp b/src/gmodelcomponent.cpp index e97c4a2..30c1087 100755 --- a/src/gmodelcomponent.cpp +++ b/src/gmodelcomponent.cpp @@ -705,7 +705,7 @@ void GModelComponent::writeComponent(const QFileInfo &fileInfo) { // if(m_readFromFile) // { - relPath = m_project->projectFile().dir().absoluteFilePath(libFile.filePath()); + relPath = libFile.absoluteFilePath(); // relPath = fileInfo.dir().relativeFilePath(relPath); // } // else @@ -717,7 +717,7 @@ void GModelComponent::writeComponent(const QFileInfo &fileInfo) else { // relPath = fileInfo.dir().relativeFilePath(libFile.absoluteFilePath()); - relPath = fileInfo.absoluteFilePath(); + relPath = libFile.absoluteFilePath(); } xmlWriter.writeAttribute("Name", m_modelComponent->componentInfo()->id()); diff --git a/src/hydrocouplecomposer.cpp b/src/hydrocouplecomposer.cpp index a841c78..393ee48 100755 --- a/src/hydrocouplecomposer.cpp +++ b/src/hydrocouplecomposer.cpp @@ -3877,11 +3877,11 @@ void HydroCoupleComposer::onAbout() "

HydroCouple Composer "+version+"

" "
" "

Build Date: " + buildDateTime + "

" - "

Copyright 2014-"+ buildYear +". The HydroCouple Organization. All rights reserved.

" - "

This program and its associated libraries is provided AS IS with NO WARRANTY OF ANY KIND, " + "

Copyright 2014-"+ buildYear +". The HydroCouple Organization. All rights reserved.

" + "

This program and its associated libraries is provided AS IS with NO WARRANTY OF ANY KIND, " "INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

" - "

caleb.buahin@gmail.com

" - "

www.hydrocouple.org

" + "

caleb.buahin@gmail.com

" + "

www.hydrocouple.org

" "" ""); }