Gui: Use override etc 2

This commit is contained in:
berniev
2022-08-09 13:56:15 +10:00
committed by wwmayer
parent 810c3780de
commit 75fa455c5d
213 changed files with 1723 additions and 1723 deletions

View File

@@ -387,7 +387,7 @@ public:
WorkbenchActionEvent(QAction* a)
: QEvent(QEvent::User), act(a)
{ }
~WorkbenchActionEvent()
~WorkbenchActionEvent() override
{ }
QAction* action() const
{ return act; }
@@ -680,12 +680,12 @@ public:
handle->Attach(this);
}
virtual ~Private()
~Private() override
{
handle->Detach(this);
}
void OnChange(Base::Subject<const char*> &, const char *reason)
void OnChange(Base::Subject<const char*> &, const char *reason) override
{
if (!updating && reason && strcmp(reason, "RecentFiles")==0) {
Base::StateLocker guard(updating);