aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/debugger/disassembler.qbs
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2025-12-12 14:59:01 +0100
committerEike Ziller <eike.ziller@qt.io>2025-12-15 08:55:56 +0000
commit793c3148d6cebde53197ff8c03c8278d0ebe306a (patch)
tree328794cca2a044b7bc587aff14407651c28f88cd /tests/auto/debugger/disassembler.qbs
parent7ea07ec978c0f9a41fa66ca18ef5620f6111ff07 (diff)
Kits: Fix warning and persistence of "None" as a debuggerHEADmaster
The "None" entry for the debugger in a kit references the default DebuggerItem that has a default-constructed variant as its ID. The ID of the DebuggerItem is saved in the profiles.xml for the kit. The settings writing and reading did not support invalid variants as values though. It would write a value with type name "", and reading that back would write a warning and not restore the value. So a kit with "None" set for the debugger appeared as having no debugger set and got "fixed" with some debugger for the device. If available. If no debugger was configured for the device, the warning would reappear again. Add support for default-constructed variants to the settings saving, which fixes both the warning and the resetting of the debugger even if explicitly set to "None". Change-Id: Ie446fa2153ab1d5dc39ea67fd41327bf8b443e68 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/debugger/disassembler.qbs')
0 files changed, 0 insertions, 0 deletions