diff --git a/src/settings.cpp b/src/settings.cpp index de26161..1e36e6e 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -326,9 +326,10 @@ void Settings::setPortable(bool isPortable) isPortable_ = isPortable; const auto baseDataPath = - isPortable - ? QDir().absolutePath() - : QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); + (isPortable ? QDir().absolutePath() + : QStandardPaths::writableLocation( + QStandardPaths::AppDataLocation)) + + "/assets"; tessdataPath = baseDataPath + "/tessdata"; translatorsDir = baseDataPath + "/translators"; hunspellDir = baseDataPath + "/hunspell";