mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-09 21:54:13 +02:00
6de8d406aa
tst_toolbarsettings, tst_diagramtoolbarsettings and tst_gesturesettings never set an organization or application name. On macOS and Linux, QSettings then falls back to an "Unknown Organization" file, so the tests pass there. On Windows it has no registry key: every write is dropped and every read gives the default, and nine checks fail. Each test now sets its own organization and application name in initTestCase(), as tst_scriptingsetting and tst_sheetbackgroundsetting already do. That also keeps the tests away from the settings of the account that runs them. Tests only; no change to the app or its files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>