On 06/06/15 10:04, "development-bounces+lars.knoll=theqtcompany....@qt-project.org on behalf of Thiago Macieira" <development-bounces+lars.knoll=theqtcompany....@qt-project.org on behalf of thiago.macie...@intel.com> wrote:
>On Friday 05 June 2015 10:10:46 Frederik Gladhorn wrote: >> +#ifndef QT_NO_DRAGANDDROP >> + virtual void dragEnterEvent(QDragEnterEvent *); >> + virtual void dragMoveEvent(QDragMoveEvent *); >> + virtual void dragLeaveEvent(QDragLeaveEvent *); >> + virtual void dropEvent(QDropEvent *); >> +#endif >> + > >Is this a public libary? Yes. > > >Are the above overrides or not? If they are overrides, add Q_DECL_OVERRIDE. The methods are overrides. The change looks good except for the missing Q_DECL_OVERRIDE. So far the drag events have been catched in the generic ::event() reimplementation, so nobody could have subclassed these methods in any meaningful way anyway. Cheers, Lars _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development