mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-07 12:14:14 +02:00
43cc013e54
duplicatesAreNotNumberedWhenSwitchedOff turns two preferences off by writing <home>/config/QElectroTech/QElectroTech.conf and pointing XDG_CONFIG_HOME there. Only Linux reads settings from that file. macOS keeps them in the system preferences, so the binary never saw the two preferences, numbered the pasted duplicates anyway, and the test failed on macOS, on master too. Write the file where QET_SETTINGS_DIR points instead (#1178), and set that variable for every run of the binary, so no run reads the user's own settings either. No file-format change. Tests: tst_elementautonumids fails on master on macOS and passes with this change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Beat Hangartner <beat@hangartners.ch>