From b7d7e0a6a9b889228218110bb2330a303b773c62 Mon Sep 17 00:00:00 2001 From: Oleg Shparber Date: Sat, 13 Oct 2018 21:39:20 -0400 Subject: [PATCH] fix(core): use relative storage path in portable build by default --- src/libs/core/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/core/settings.cpp b/src/libs/core/settings.cpp index a92966615..87411be8f 100644 --- a/src/libs/core/settings.cpp +++ b/src/libs/core/settings.cpp @@ -158,7 +158,7 @@ void Settings::load() docsetPath = QStandardPaths::writableLocation(QStandardPaths::DataLocation) + QLatin1String("/docsets"); #else - docsetPath = QCoreApplication::applicationDirPath() + QLatin1String("/docsets"); + docsetPath = QStringLiteral("docsets"); #endif QDir().mkpath(docsetPath); }