avoid readability-redundant-access-specifiers
warnings with Qt slots
#60055
Labels
readability-redundant-access-specifiers
warnings with Qt slots
#60055
Qt declares slot methods by using the
<access-specifier> slots:
syntax in the class declaration. This causesreadability-redundant-access-specifiers
warnings for code like this (see also https://doc.qt.io/qt-6/signalsandslots.html#a-small-example):I am not sure if this can be handled in the check but given the widespread usage of Qt I felt it was worth reporting.
The text was updated successfully, but these errors were encountered: