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

IJHack / QtPass / 24848506644

23 Apr 2026 05:11PM UTC coverage: 27.334% (+0.3%) from 27.079%
24848506644

push

github

web-flow
feat: Store git options per profile (#112) (#1140)

* feat: Store git options per profile (#112)

- Add useGit, autoPush, autoPull to profile storage in getProfiles/setProfiles
- Add getProfileUseGit, setProfileUseGit, getProfileAutoPush, setProfileAutoPush,
  getProfileAutoPull, setProfileAutoPull methods to QtPassSettings
- Load git settings when selecting profile in ConfigDialog
- Save git settings to profile when saving

Allows each profile to have its own git settings, fixing the issue
where global git settings caused errors for mixed local/remote stores.

* feat: Store git options per profile (#112)

- Fix data corruption: only save git settings for selected profile
- Fix getters to fall back to default for empty values (migration)
- Add unit tests for profile git options
- Add test cleanup for profileGitOptions

* fix: preserve git settings for non-selected profiles

- Load existing profiles in getProfiles() to preserve git settings for non-selected profiles
- Use useGit setter in loadGitSettingsForProfile so dependent controls refresh
- Add selection change handler to reload profile git settings when switching rows
- Fix test cleanup to use QtPassSettings singleton instead of raw QSettings

* fix: apply CodeRabbit auto-fixes

Fixed 4 file(s) based on 3 unresolved review comments.

Co-authored-by: CodeRabbit <noreply@coderabbit.ai>

* style: format qtpasssettings.cpp

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: CodeRabbit <noreply@coderabbit.ai>

39 of 93 new or added lines in 2 files covered. (41.94%)

18 existing lines in 2 files now uncovered.

1631 of 5967 relevant lines covered (27.33%)

29.7 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/moc_configdialog.cpp


Source Not Available

The file "src/moc_configdialog.cpp" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

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