From d687dd8e9887f279576af240089c90a75bc9cc12 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 4 Apr 2020 09:57:35 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=B4=D0=B5=D1=80=D0=B6?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B8=20=D0=B2=20?= =?UTF-8?q?=D0=AD=D0=BB=D1=8C=D0=B1=D1=80=D1=83=D1=81=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/myx/filesystem/paths.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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";