From ccc56a22a7a8c3f8fcc022218f13b600b362a200 Mon Sep 17 00:00:00 2001 From: Joris Goosen Date: Wed, 10 Jan 2024 16:52:26 +0100 Subject: [PATCH 1/2] if testing mode always default options please --- Desktop/utilities/settings.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Desktop/utilities/settings.cpp b/Desktop/utilities/settings.cpp index 5a51acc232..4aa4bd1438 100644 --- a/Desktop/utilities/settings.cpp +++ b/Desktop/utilities/settings.cpp @@ -1,4 +1,5 @@ #include "settings.h" +#include "resultstesting/compareresults.h" QSettings* Settings::_settings = nullptr; @@ -93,7 +94,10 @@ const Settings::Setting Settings::Values[] = { QVariant Settings::value(Settings::Type key) { - return getSettings()->value(Settings::Values[key].type, Settings::Values[key].defaultValue); + if(resultXmlCompare::compareResults::theOne()->testMode()) + return defaultValue(key); + + return getSettings()->value(Settings::Values[key].type, defaultValue(key)); } QVariant Settings::defaultValue(Settings::Type key) From 3d2264fa96200059d9bea23cdc55e96724974bd3 Mon Sep 17 00:00:00 2001 From: Joris Goosen Date: Wed, 10 Jan 2024 17:13:57 +0100 Subject: [PATCH 2/2] there shouldnt be 2 20s --- Resources/Data Sets/index.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/Data Sets/index.json b/Resources/Data Sets/index.json index 3289ee3d0d..f56529a2af 100644 --- a/Resources/Data Sets/index.json +++ b/Resources/Data Sets/index.json @@ -1094,8 +1094,8 @@ ] }, { - "name": "20. Miscellaneous", - "path": "20. Miscellaneous", + "name": "21. Miscellaneous", + "path": "21. Miscellaneous", "description": "", "kind": "folder", "children": [