diff --git a/share/translations.pro b/share/translations.pro index 6701b5a6d..108b2a8e3 100644 --- a/share/translations.pro +++ b/share/translations.pro @@ -11,12 +11,14 @@ DEPENDPATH += \ ../src/app \ ../src/libs/qmuparser \ ../src/libs/vpropertyexplorer \ - ../src/libs/ifc + ../src/libs/ifc \ + ../src/libs/vobj include(../src/app/app.pri) include(../src/libs/qmuparser/qmuparser.pri) include(../src/libs/vpropertyexplorer/vpropertyexplorer.pri) include(../src/libs/ifc/ifc.pri) +include(../src/libs/vobj/vobj.pri) # Add here path to new translation file with name "valentina_*_*.ts" if you want to add new language. # Same paths in variable INSTALL_TRANSLATIONS (app.pro). diff --git a/src/app/core/vapplication.cpp b/src/app/core/vapplication.cpp index 5986897ad..3988cb0d4 100644 --- a/src/app/core/vapplication.cpp +++ b/src/app/core/vapplication.cpp @@ -478,6 +478,7 @@ void VApplication::BeginLogging() else { delete log; + log = nullptr; qCDebug(vApp) << "Error opening log file '" << LogPath() << "'. All debug output redirected to console."; } }