summaryrefslogtreecommitdiffstats
path: root/src/querycompleter.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-15 11:51:34 +0200
committerDanilo M. <danix@danix.xyz>2026-08-15 11:51:34 +0200
commit749600c47f92c97fa50556fbb738d3c3055a9ab4 (patch)
treebfa9e39b6492c80c5e56f2bce6af7142baf67ec1 /src/querycompleter.cpp
parentd4e4cebbefdce5f575954594461dc707492b2dd8 (diff)
downloadqtmaildir-749600c47f92c97fa50556fbb738d3c3055a9ab4.tar.gz
qtmaildir-749600c47f92c97fa50556fbb738d3c3055a9ab4.zip
test(config): pin the dotted account key for startup_account
startup_account matches Account::key, the [account.<key>] suffix, and not the mbsync channel. The two genuinely differ in a real setup: a section key may carry dots that the channel does not. The dot is the part worth pinning. QSettings treats "/" as a group separator, which is why account sections use a dot at all; a dot INSIDE the key is a different case, and a silent mismatch would report "not a configured account" and quietly start on All accounts. Verified against a standalone probe before this test was written. The second half asserts the channel is rejected, so the two names cannot be interchangeable in one direction only.
Diffstat (limited to 'src/querycompleter.cpp')
0 files changed, 0 insertions, 0 deletions