Add missing override in code and doc example.

This commit is contained in:
Maxime Gimeno 2017-09-18 12:38:02 +02:00
parent 4509f39802
commit c723e97e20
2 changed files with 2 additions and 2 deletions

View File

@ -313,7 +313,7 @@ private Q_SLOTS:
}
}
void closure()
void closure()Q_DECL_OVERRIDE
{
dock_widget->hide();
}

View File

@ -85,7 +85,7 @@ private Q_SLOTS:
}
//! [action]
//! [closure]
void closure()
void closure()Q_DECL_OVERRIDE
{
dock_widget->hide();
}