diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-04-08 12:55:14 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-04-08 16:31:56 +0000 |
commit | faf29063691c279562fd2156a75adf70953a9c3d (patch) | |
tree | e07364ebd7fc98c60e189867ec621aa992515c94 /src/designer/src/components/signalsloteditor/signalsloteditor_tool.h | |
parent | b83999bfe04d185cbe45a81658bd21bb1b22a532 (diff) |
Qt Designer: Fix Clang warnings about missing/inconsistent overrides.
Add missing overrides and remove FormWindowBase::emitSelectionChanged()
as it was hiding QDesignerFormWindowInterface::emitSelectionChanged().
Change-Id: I4d07e6d0012aed931b9cad88878f29d026f3b1e3
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Diffstat (limited to 'src/designer/src/components/signalsloteditor/signalsloteditor_tool.h')
-rw-r--r-- | src/designer/src/components/signalsloteditor/signalsloteditor_tool.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/designer/src/components/signalsloteditor/signalsloteditor_tool.h b/src/designer/src/components/signalsloteditor/signalsloteditor_tool.h index edbc074ed..68cc1c663 100644 --- a/src/designer/src/components/signalsloteditor/signalsloteditor_tool.h +++ b/src/designer/src/components/signalsloteditor/signalsloteditor_tool.h @@ -62,10 +62,10 @@ public: QWidget *editor() const Q_DECL_OVERRIDE; - QAction *action() const; + QAction *action() const Q_DECL_OVERRIDE; - virtual void activated(); - virtual void deactivated(); + void activated() Q_DECL_OVERRIDE; + void deactivated() Q_DECL_OVERRIDE; bool handleEvent(QWidget *widget, QWidget *managedWidget, QEvent *event) Q_DECL_OVERRIDE; |