Skip to content

Fix pedantic warning for extra ; at Q_PROPERTY

Q_PROPERTY is a macro that does not need the trailing ;. When enabling -Wpedantic warnings errors like the following are printed:

In file included from ../src/recurrenceperiodmodel.cpp:7:
../src/recurrenceperiodmodel.h:21:55: warning: extra ‘;[-Wpedantic]
   21 |     Q_PROPERTY(ushort noRepeat READ noRepeat CONSTANT);
      |                                                       ^
      |                                                       -

Merge request reports