Ensure tests have default-initialized settings (#4498)

Also rework HighlightController test directory creation/saving to ensure the test directory is written to & cleaned up appropriately
This commit is contained in:
pajlada
2023-04-01 13:23:18 +02:00
committed by GitHub
parent 7a081fdcfb
commit 0177ab4829
4 changed files with 16 additions and 9 deletions
+2
View File
@@ -140,6 +140,8 @@ Settings::Settings(const QString &settingsDirectory)
Settings &Settings::instance()
{
assert(instance_ != nullptr);
return *instance_;
}