diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2023-02-13 12:09:58 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2023-02-23 14:30:06 +0000 |
commit | 64e23d2dc117454c5827f3ee2a60c4d8496adac4 (patch) | |
tree | bfa73ad15db8a19f4a50cb8ce6e36e959b1ea27f | |
parent | 149d755467d8cbd15311117c53c38863b01e453a (diff) |
Remove unused property setter and related code
Change-Id: I21acfe66af51682a91e01cb05d08b0ea309c403c
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
-rw-r--r-- | QtVsTools.Core/QtProject.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/QtVsTools.Core/QtProject.cs b/QtVsTools.Core/QtProject.cs index 9ba757a8..7ca809cf 100644 --- a/QtVsTools.Core/QtProject.cs +++ b/QtVsTools.Core/QtProject.cs @@ -1532,7 +1532,6 @@ namespace QtVsTools.Core readonly VCFileConfiguration vcConfig; readonly VCFile vcFile; readonly VCCustomBuildTool tool; - readonly VCMacroExpander macros; enum FileItemType { Other = 0, CustomBuild, QtMoc, QtRcc, QtRepc, QtUic }; readonly FileItemType itemType = FileItemType.Other; @@ -1560,7 +1559,6 @@ namespace QtVsTools.Core } if (itemType == FileItemType.CustomBuild) tool = HelperFunctions.GetCustomBuildTool(vcConfig); - macros = new VCMacroExpander(vcConfig); } public string CommandLine @@ -1581,27 +1579,6 @@ namespace QtVsTools.Core } return ""; } - set - { - switch (itemType) { - case FileItemType.CustomBuild: - if (tool != null) - tool.CommandLine = value; - break; - case FileItemType.QtMoc: - qtMsBuild.SetQtMocCommandLine(vcConfig, value, macros); - break; - case FileItemType.QtRcc: - qtMsBuild.SetQtRccCommandLine(vcConfig, value, macros); - break; - case FileItemType.QtRepc: - qtMsBuild.SetQtRepcCommandLine(vcConfig, value, macros); - break; - case FileItemType.QtUic: - qtMsBuild.SetQtUicCommandLine(vcConfig, value, macros); - break; - } - } } public string Outputs |