Commit 3aa424ca authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

WelcomePage: Show demos in the examples view



Change-Id: Idc466b7e058375c0e393eb9f9dd2cc8f58abb2af
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent f298b063
...@@ -717,7 +717,7 @@ bool ExamplesListModelFilter::filterAcceptsRow(int sourceRow, const QModelIndex ...@@ -717,7 +717,7 @@ bool ExamplesListModelFilter::filterAcceptsRow(int sourceRow, const QModelIndex
if (!m_showTutorialsOnly) { if (!m_showTutorialsOnly) {
int type = sourceModel()->index(sourceRow, 0, sourceParent).data(Type).toInt(); int type = sourceModel()->index(sourceRow, 0, sourceParent).data(Type).toInt();
if (type != Example) if (type != Example && type != Demo)
return false; return false;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment