Исправлено условия для поиска временного каталога

This commit is contained in:
Andrei Astafev 2019-10-05 13:43:25 +03:00
parent 4a7861ca44
commit 9fbb30ac76

View File

@ -70,7 +70,7 @@ Paths::Paths() :
m_executableFilePath( m_binaryDirectory.absolutePath() + "/" + m_executableFileName ),
m_configFilePath( m_binaryDirectory.absolutePath() + "/" + m_configFileName )
{
if ( m_tempDirectory.isEmpty() || ( m_tempDirectory.path() == "." ) )
if ( m_tempDirectory.absolutePath().isEmpty() || ( m_tempDirectory.path() == "." ) )
{
m_tempDirectory = _PATH_TMP;
}