Skip to content
Snippets Groups Projects
  1. May 30, 2019
  2. May 25, 2019
  3. May 21, 2019
  4. May 19, 2019
  5. May 17, 2019
  6. May 09, 2019
    • Lioncash's avatar
    • Lioncash's avatar
      configuration/config: Move config loading and saving to functions based off groups · 4ef3329f
      Lioncash authored
      Over time our config values have grown quite numerous in size.
      Unfortunately it also makes the single functions we have for loading and
      saving values more error prone.
      
      For example, we were loading the core settings twice when they only
      should have been loaded once. In another section, a variable was
      shadowing another variable used to load settings from a completely
      different section.
      
      Finally, in one other case, there was an extraneous endGroup() call used
      that didn't need to be done. This was essentially dead code and also a
      bug waiting to happen.
      
      This separates the section loading code into its own separate functions.
      This keeps variables only visible to the code that actually needs it,
      and makes it much easier to visually see the end of each individual
      configuration group. It also makes it much easier to visually catch bugs
      during code review.
      
      While we're at it, this also uses QStringLiteral instead of raw string
      literals, which both avoids constructing a lot of QString instances, but
      also makes it much easier to disable implicit ASCII to QString and
      vice-versa in the future via setting QT_NO_CAST_FROM_ASCII and
      QT_NO_CAST_TO_ASCII as compilation flags.
      4ef3329f
  7. Apr 20, 2019
  8. Apr 11, 2019
  9. Apr 10, 2019
    • Lioncash's avatar
      configure_hotkeys: Pass the dialog as a parent to SequenceDialog() · e1101d3e
      Lioncash authored
      Without passing in a parent, this can result in focus being stolen from
      the dialog in certain cases.
      
      Example:
      
      On Windows, if the logging window is left open, the logging Window will
      potentially get focus over the hotkey dialog itself, since it brings all
      open windows for the application into view. By specifying a parent, we
      only bring windows for the parent into view (of which there are none,
      aside from the hotkey dialog).
      e1101d3e
    • Lioncash's avatar
      configure_hotkeys: Avoid dialog memory leak within Configure() · b47c0c8a
      Lioncash authored
      Without a parent, this dialog won't have its memory freed when it
      happens to get destroyed.
      b47c0c8a
  10. Apr 09, 2019
  11. Apr 08, 2019
  12. Mar 29, 2019
    • fearlessTobi's avatar
      core/yuzu: Remove enable_nfc setting · ff7e6a42
      fearlessTobi authored
      This was initially added to prevent problems from stubbed/not implemented NFC services, but as we never encountered such and as it's only used in a deprecated function anyway, I guess we can just remove it to prevent more clutter of the settings.
      ff7e6a42
  13. Mar 16, 2019
  14. Mar 07, 2019
  15. Feb 07, 2019
Loading