Clang's -Winconsistent-missing-override and GCC's -Wsuggest-override flags warns about missing Q_DECL_OVERRIDE declared.
The patch aims to solve all these warnings, visible on https://build.kde.org/job/Extragear/job/krusader/job/kf5-qt5%20FreeBSDQt5.11/2/warnings12Result/ and reproducible adding -Wsuggest-override or -Winconsistent-missing-override (not sure, haven't tested with clang) to CMAKE_CXX_FLAGS