diff --git a/src/plugins/qtsupport/exampleslistmodel.cpp b/src/plugins/qtsupport/exampleslistmodel.cpp index 045168a29f2..a5bf950bf5f 100644 --- a/src/plugins/qtsupport/exampleslistmodel.cpp +++ b/src/plugins/qtsupport/exampleslistmodel.cpp @@ -34,6 +34,7 @@ #include #include +#include #include #include @@ -727,6 +728,12 @@ bool ExamplesListModelFilter::leaveFilterAcceptsRowBeforeFiltering(const Core::L return true; } + if (m_examplesListModel->exampleSetModel()->selectedQtSupports(Ios::Constants::IOS_DEVICE_TYPE) + && !item->tags.contains("ios")) { + *earlyExitResult = false; + return true; + } + return false; }