summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/treemodelcompleter/treemodelcompleter.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tools/treemodelcompleter/treemodelcompleter.h')
-rw-r--r--examples/widgets/tools/treemodelcompleter/treemodelcompleter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/tools/treemodelcompleter/treemodelcompleter.h b/examples/widgets/tools/treemodelcompleter/treemodelcompleter.h
index 69d6cdfe78..2f2a45c3d3 100644
--- a/examples/widgets/tools/treemodelcompleter/treemodelcompleter.h
+++ b/examples/widgets/tools/treemodelcompleter/treemodelcompleter.h
@@ -58,8 +58,8 @@ public slots:
void setSeparator(const QString &separator);
protected:
- QStringList splitPath(const QString &path) const;
- QString pathFromIndex(const QModelIndex &index) const;
+ QStringList splitPath(const QString &path) const Q_DECL_OVERRIDE;
+ QString pathFromIndex(const QModelIndex &index) const Q_DECL_OVERRIDE;
private:
QString sep;