diff --git a/src/myx/filesystem/paths.cpp b/src/myx/filesystem/paths.cpp index f014665..456773e 100644 --- a/src/myx/filesystem/paths.cpp +++ b/src/myx/filesystem/paths.cpp @@ -128,14 +128,14 @@ bool Paths::init( const QString& projectDir, const QString& configFileExtension m_tempDirectory = QStringLiteral( _PATH_TMP ); } - auto configHome { QString::fromLocal8Bit( qgetenv( qPrintable( "XDG_CONFIG_HOME" ) ) ) }; + auto configHome = QString::fromLocal8Bit( qgetenv( qPrintable( "XDG_CONFIG_HOME" ) ) ); if ( configHome.isEmpty() ) { configHome = m_homeDirectory.canonicalPath() + "/.config"; } m_userConfigDirectory = configHome + "/" + m_projectName; - auto dataHome { QString::fromLocal8Bit( qgetenv( qPrintable( "XDG_DATA_HOME" ) ) ) }; + auto dataHome = QString::fromLocal8Bit( qgetenv( qPrintable( "XDG_DATA_HOME" ) ) ); if ( dataHome.isEmpty() ) { dataHome = m_homeDirectory.canonicalPath() + "/.local/share";