Skip to content

Commit

Permalink
fix -Winconsistent-missing-override
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Oct 22, 2019
1 parent 8e17c8c commit 8421443
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Gui/MainWindow.h
Expand Up @@ -340,7 +340,7 @@ class StatusBarObserver: public WindowParameter, public Base::ILogger
virtual ~StatusBarObserver();

/** Observes its parameter group. */
void OnChange(Base::Subject<const char*> &rCaller, const char * sReason);
void OnChange(Base::Subject<const char*> &rCaller, const char * sReason) override;

void SendLog(const std::string& msg, Base::LogStyle level) override;

Expand Down
8 changes: 4 additions & 4 deletions src/Gui/ReportView.h
Expand Up @@ -133,7 +133,7 @@ class GuiExport ReportOutput : public QTextEdit, public WindowParameter, public
virtual ~ReportOutput();

/** Observes its parameter group. */
void OnChange(Base::Subject<const char*> &rCaller, const char * sReason);
void OnChange(Base::Subject<const char*> &rCaller, const char * sReason) override;

void SendLog(const std::string& msg, Base::LogStyle level) override;

Expand All @@ -152,11 +152,11 @@ class GuiExport ReportOutput : public QTextEdit, public WindowParameter, public

protected:
/** For internal use only */
void customEvent ( QEvent* ev );
void customEvent ( QEvent* ev ) override;
/** Handles the change of style sheets */
void changeEvent(QEvent *);
void changeEvent(QEvent *) override;
/** Pops up the context menu with some extensions */
void contextMenuEvent ( QContextMenuEvent* e );
void contextMenuEvent ( QContextMenuEvent* e ) override;

public Q_SLOTS:
/** Save the report messages into a file. */
Expand Down

0 comments on commit 8421443

Please sign in to comment.