Skip to content

Fix some clazy warnings

Ahmad Samir requested to merge work/ahmad/clazy-warnings into master
  • Pass a context object as 3rd connect parameter
  • QARG() argument signature is not normalized. Use QUrl instead of const QUrl&
  • lambda capture 'this' is not used
  • getter possibly mismarked as a slot, only added a KF6 TODO (does moving a method from Q_SLOTS to public/private: break BC?)
  • C++11 range-loop might detach Qt container
  • Missing reference in range-for with non trivial type QPointer
  • Remove unused local vars
  • slot return types need to be fully-qualified (KAuth::ActionReply instead of ActionReply)

Plus some other minor optimisations.

NO_CHANGELOG

Merge request reports

Loading