diff options
| author | hjk <hjk@qt.io> | 2023-04-18 14:14:39 +0200 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2023-04-26 06:24:19 +0000 |
| commit | aeac83af7813f6ca5c67281c6cd91fc77351830e (patch) | |
| tree | 1e1c2a0c05c3be22716360fd0a7157d028058cf4 /tests/auto | |
| parent | b4a6af026e5bce2340a900a92250e61d9205e511 (diff) | |
| download | qt-creator-aeac83af7813f6ca5c67281c6cd91fc77351830e.tar.gz | |
Utils: Collapse the two SettingsAccessor constructor hierarchies
Change-Id: I7b659c9e3c66700cfc92f9cfbd9df0535a1ca655
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/auto')
| -rw-r--r-- | tests/auto/utils/settings/tst_settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/utils/settings/tst_settings.cpp b/tests/auto/utils/settings/tst_settings.cpp index 433401b9e1..9f723b916b 100644 --- a/tests/auto/utils/settings/tst_settings.cpp +++ b/tests/auto/utils/settings/tst_settings.cpp @@ -143,9 +143,9 @@ public: }; BasicTestSettingsAccessor::BasicTestSettingsAccessor(const FilePath &baseName, const QByteArray &id) : - Utils::MergingSettingsAccessor(std::make_unique<TestBackUpStrategy>(this), - "TestData", TESTACCESSOR_APPLICATION_DN) + Utils::MergingSettingsAccessor("TestData", TESTACCESSOR_APPLICATION_DN) { + setStrategy(std::make_unique<TestBackUpStrategy>(this)); setSettingsId(id); setBaseFilePath(baseName); } |
