diff --git a/src/myx/filesystem/paths.cpp b/src/myx/filesystem/paths.cpp index d20f39d..61cee87 100644 --- a/src/myx/filesystem/paths.cpp +++ b/src/myx/filesystem/paths.cpp @@ -126,7 +126,7 @@ bool Paths::init( const QString& projectDir, const QString& configFileExtension m_homeDirectory = QString::fromLocal8Bit( qgetenv( "HOME" ) ); m_tempDirectory = QString::fromLocal8Bit( qgetenv( "TMPDIR" ) ); - if ( m_tempDirectory.isEmpty() || ( m_tempDirectory.path() == QStringLiteral( "." ) ) ) + if ( !m_tempDirectory.exists() || ( m_tempDirectory.path() == QStringLiteral( "." ) ) ) { m_tempDirectory = QStringLiteral( _PATH_TMP ); }