diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-05-02 12:45:54 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-05-02 13:17:36 +0200 |
commit | 3aa424ca6498653e12a21b010058a22558995e51 (patch) | |
tree | 00311338421a07bad5c60ba72393d3a99819a1af | |
parent | f298b063c8a6810682ae38e2fae02ebd80b472c5 (diff) |
WelcomePage: Show demos in the examples view
Change-Id: Idc466b7e058375c0e393eb9f9dd2cc8f58abb2af
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
-rw-r--r-- | src/plugins/qtsupport/exampleslistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qtsupport/exampleslistmodel.cpp b/src/plugins/qtsupport/exampleslistmodel.cpp index 602b70c17f..54a083c41a 100644 --- a/src/plugins/qtsupport/exampleslistmodel.cpp +++ b/src/plugins/qtsupport/exampleslistmodel.cpp @@ -717,7 +717,7 @@ bool ExamplesListModelFilter::filterAcceptsRow(int sourceRow, const QModelIndex if (!m_showTutorialsOnly) { int type = sourceModel()->index(sourceRow, 0, sourceParent).data(Type).toInt(); - if (type != Example) + if (type != Example && type != Demo) return false; } |