diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-06-04 13:44:06 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-06-05 10:30:00 +0200 |
commit | 95e34a568a88cb101b8ec8a5612c588b24830202 (patch) | |
tree | 7b7f7f3df5843955dab3d21e333c3b54b432f8c2 /src/designer/src/lib/shared/zoomwidget_p.h | |
parent | f562ee4402c957d66f4a5ae5b39cd2679d0c4b24 (diff) |
Qt Designer: Fix clang warnings about class structure/definitions
- Add missing override
- Use "= default" for trivial constructors/destructors
- Use Q_DISABLE_COPY/MOVE
- Fix some function parameters
Change-Id: Iaed3b6a85bdfd9e9e431746f77589a9e2029120a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/designer/src/lib/shared/zoomwidget_p.h')
-rw-r--r-- | src/designer/src/lib/shared/zoomwidget_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/lib/shared/zoomwidget_p.h b/src/designer/src/lib/shared/zoomwidget_p.h index 1c4988eb3..774528069 100644 --- a/src/designer/src/lib/shared/zoomwidget_p.h +++ b/src/designer/src/lib/shared/zoomwidget_p.h @@ -120,7 +120,7 @@ public slots: void showContextMenu(const QPoint &globalPos); protected: - void contextMenuEvent(QContextMenuEvent *event); + void contextMenuEvent(QContextMenuEvent *event) override; // Overwrite for implementing additional behaviour when doing setZoom(); virtual void applyZoom(); |