Date: November 17, 2025 Source: OldCoder Subject: Dooble database location patch This is a patch for Dooble git snapshots dated circa November 2025. This patch fixes a bug which could lead to a settings database being created, incorrectly, in the system's root dir- ectory. --- dooble-git-5ac996ba9.old/Source/dooble_settings.cc +++ dooble-git-5ac996ba9/Source/dooble_settings.cc @@ -582,7 +581,19 @@ if(!s_settings.contains(key)) { - auto const home_path = s_settings.value("home_path").toString(); + auto home_path = s_settings.value("home_path").toString(); + + if (home_path.isEmpty()) + { + auto const hobytes (qEnvironmentVariable \ +("DOOBLE_HOME").trimmed()); + + if (!hobytes.isEmpty()) + { + QDir().mkpath (hobytes); + home_path = hobytes; + } + } locker.unlock(); ==== end of patch ====