• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IJHack / QtPass / 27691522006
55%

Build:
DEFAULT BRANCH: main
Ran 17 Jun 2026 01:18PM UTC
Jobs 1
Files 80
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Jun 2026 01:12PM UTC coverage: 57.47% (-0.03%) from 57.501%
27691522006

push

github

web-flow
refactor(#1511): wire AppSettings into ConfigDialog + SshAuthSock (PR B) (#1552)

* refactor(#1511): wire AppSettings into ConfigDialog + SshAuthSock (PR B)

ConfigDialog constructor:
- Load AppSettings once (const AppSettings s = QtPassSettings::load())
  and reuse it — removes two extra getClipBoardTypeRaw()/isUseSelection()
  calls that duplicated the load() done by applySettings()
- Use static_cast<int>(s.clipBoardType) for the combo box index

ConfigDialog destructor:
- Remove three individual setX() calls (setGitExecutable, setGpgExecutable,
  setPassExecutable) that were redundant with on_accepted() calling
  QtPassSettings::save(readSettings()) and wrong on Cancel (they persisted
  changes even when the user dismissed the dialog)
- Destructor is now trivially default

SshAuthSock::initialise():
- Accept override path as a parameter (const QString &override = {})
  instead of reading QtPassSettings::getSshAuthSockOverride() internally
- Removes the qtpasssettings dependency from sshauthsock.cpp
- Caller (main/main.cpp) passes QtPassSettings::getSshAuthSockOverride()
  explicitly, making the data-flow visible at the call site
- Tests updated to pass override directly instead of setting it via
  QtPassSettings (five tests: HonoursExistingEnv, UsesOverride,
  NoOverrideNoEnvProbes, OverrideSkipsAgentValidation,
  EmptyOverrideFallsThrough)

pass.cpp: update TODO to clarify that the static getGpgIdPath chain
  (getGpgIdPath → getRecipientList → getRecipientString) will be
  addressed in the mainwindow PR, not here.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs: update SshAuthSock::initialise() comment to reflect parameter API

The implementation note still said it reads
QtPassSettings::getSshAuthSockOverride() directly; since PR B the value
arrives as the `override` parameter instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

5 of 6 new or added lines in 2 files covered. (83.33%)

3985 of 6934 relevant lines covered (57.47%)

23.76 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
35.8
-0.3% src/configdialog.cpp
Jobs
ID Job ID Ran Files Coverage
1 27691522006.1 17 Jun 2026 01:18PM UTC 80
57.47
GitHub Action Run
Source Files on build 27691522006
  • Tree
  • List 80
  • Changed 6
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27691522006
  • 31160181 on github
  • Prev Build on main (#27688530046)
  • Next Build on main (#27694030650)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc