aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2022-07-26 13:43:41 +0200
committerKarsten Heimrich <karsten.heimrich@qt.io>2022-08-01 13:15:30 +0000
commit326078185cace481f1fcbeb5ce701453291c3b32 (patch)
tree0d9f21aa01154d0878170c05fd1f2a6e4a93ed28
parent12380e2ef8fc7b3aa9c022718a91b0577a7889be (diff)
Remove ifdef'ed code for VS version < 2017
Change-Id: I8f1bb2ec40e450837977ce73517439f90d6d85b6 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
-rw-r--r--QtVsTools.Core/QtProject.cs7
1 files changed, 0 insertions, 7 deletions
diff --git a/QtVsTools.Core/QtProject.cs b/QtVsTools.Core/QtProject.cs
index b262fded..5f45a8f6 100644
--- a/QtVsTools.Core/QtProject.cs
+++ b/QtVsTools.Core/QtProject.cs
@@ -1866,13 +1866,6 @@ namespace QtVsTools.Core
if (!subfilterFound) {
if (!vfilt.CanAddFilter(subfilterName))
throw new QtVSException(SR.GetString("QtProject_CannotAddFilter", filter.Name));
-
-#if !(VS2017 || VS2019 || VS2022)
- // TODO: Enable once the freeze gets fixed in VS.
- vfilt = (VCFilter)vfilt.AddFilter(subfilterName);
- vfilt.Filter = "cpp;moc";
- vfilt.SourceControlFiles = false;
-#endif
}
}