Skip to content
Snippets Groups Projects

VP1TrackSystems: slots -> Q_SLOTS

Merged Scott Snyder requested to merge ssnyder/athena:slots.VP1TrackSystems-20231116 into main
  1. Nov 16, 2023
    • scott snyder's avatar
      VP1TrackSystems: slots -> Q_SLOTS · 697e5633
      scott snyder authored
      Rename the Qt slots 'keyword' to Q_SLOTS.
      
      Having this in the source confuses cppcheck, which reports syntax errors.
      We can define slots as a macro expanding to nothing in the cppcheck
      configuration, but if we do that globally, there are other packages that
      break because they use slots as an identifier.  Using Q_SLOTS instead
      prevents this name collision.
      697e5633
Loading