From 397145d21f3804517274a7bec75736967952caf4 Mon Sep 17 00:00:00 2001 From: Cesar Enrique Garcia Dabo Date: Tue, 10 Dec 2019 18:05:55 +0100 Subject: [PATCH] Remove obsolete forced setting of XDG_CONFIG_HOME. Apparently this was introduced in 2011 as a workaround to solve a problem in libimobiledevice. However already in 2013 the problem was solved in libimobiledevice: https://github.com/libimobiledevice/libimobiledevice/commit/b811fbb05b1a466a96c6987f299f3b4e09bfb7eb --- src/main.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 9fc51f605..91f1a5c1e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -302,14 +302,6 @@ int main(int argc, char* argv[]) { } } -#ifdef Q_OS_DARWIN - // Must happen after QCoreApplication::setOrganizationName(). - setenv( - "XDG_CONFIG_HOME", - Utilities::GetConfigPath(Utilities::Path_Root).toLocal8Bit().constData(), - 1); -#endif - // Output the version, so when people attach log output to bug reports they // don't have to tell us which version they're using. qLog(Info) << "Clementine-qt5" << CLEMENTINE_VERSION_DISPLAY;