Bug ID: 392795
           Summary: Support QOverload<>::of in fix-old-style-connect
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
  Target Milestone: ---


Please support QOverload<> syntax in fix-old-style-connect.

Right now half of my connect() calls fail to convert to the new syntax because
clazy complains somethink like:

FixIt failed, requires manual intervention: Too many overloads (2) for method
      currentIndexChanged for record QComboBox [-Wclazy-old-style-connect]

This is very common for QComboBox, QSpinBox, etc...

Qt docs show how to do it:

Ideally, this should be configurable, to choose between "qOverload<>" (C++14),
"QOverload<>::of" (C++11), or "static_cast<void (QComboBox::*)(int)>" (Qt 5.6
and older).


You are receiving this mail because:
You are watching all bug changes.

Reply via email to