From f565798650b453ed8c94422096d9b37ba81ebf3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 1 Apr 2017 18:38:04 +0200 Subject: NOISSUE remove unused version range filtering --- application/VersionProxyModel.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'application/VersionProxyModel.cpp') diff --git a/application/VersionProxyModel.cpp b/application/VersionProxyModel.cpp index 00390b36..96bdc9ab 100644 --- a/application/VersionProxyModel.cpp +++ b/application/VersionProxyModel.cpp @@ -28,17 +28,7 @@ public: { case BaseVersionList::ParentVersionRole: case BaseVersionList::VersionIdRole: - { - auto versionString = data.toString(); - if(it.value().exact) - { - return versionString == it.value().string; - } - else - { - return versionIsInInterval(versionString, it.value().string); - } - } + // TODO: work with metadata here. Previous implementation based on the Version class is not sufficient default: { auto match = data.toString(); -- cgit v1.2.3