forked from qt-creator/qt-creator
WelcomePage: Show demos in the examples view
Change-Id: Idc466b7e058375c0e393eb9f9dd2cc8f58abb2af Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user