Skip to content
Snippets Groups Projects

Resolve "Cannot launch monteverdi if .ini config file is invalid"

Merged Julien Michel requested to merge 1587-no-exception-if-config-file-is-corrupted into release-6.6

Closes #1587 (closed)

Amazing how this bug fix is only about removing code ...

From Qt documentation:

void QSettings::sync()

This function is called automatically from QSettings's destructor and by the event loop at regular intervals, so you normally don't need to call it yourself.

They should add that not only you do not need to call it yourself, but you should also avoid using its status to throw system exceptions from the bottom of the stack, as errors are handled just fine by default Qt behavior, without writing one line of code.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading