diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2021-12-09 17:23:17 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2021-12-15 10:13:55 +0000 |
commit | ef004a6560a835a7a6b291f912eaf7b7712b8310 (patch) | |
tree | d292e1f8b5a15d1e7bde78e024f5c64da19ed911 /QtVsTools.Core | |
parent | 63851233f41579f53f5708f90cef2192f1ae302c (diff) |
Remove unnecessary loading and translation of Qt module names
Since we are in english only anyway, loading and translating Qt
module names makes no sense. Especially while the package is loading.
Completely remove the module name resource entries.
Change-Id: I593e87ea534260d18e471fda012d186d7630a6be
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
Diffstat (limited to 'QtVsTools.Core')
-rw-r--r-- | QtVsTools.Core/QtModule.cs | 1 | ||||
-rw-r--r-- | QtVsTools.Core/QtModules.cs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/QtVsTools.Core/QtModule.cs b/QtVsTools.Core/QtModule.cs index 4d980e61..941d3dd3 100644 --- a/QtVsTools.Core/QtModule.cs +++ b/QtVsTools.Core/QtModule.cs @@ -35,7 +35,6 @@ namespace QtVsTools.Core public class QtModule { public string Name; - public string ResourceName; public bool Selectable; public List<string> Defines = new List<string>(); public string LibraryPrefix = string.Empty; diff --git a/QtVsTools.Core/QtModules.cs b/QtVsTools.Core/QtModules.cs index d008e17f..19bd9268 100644 --- a/QtVsTools.Core/QtModules.cs +++ b/QtVsTools.Core/QtModules.cs @@ -87,7 +87,6 @@ namespace QtVsTools.Core int id = (int)xModule.Attribute("Id"); QtModule module = new QtModule(id); module.Name = (string)xModule.Element("Name"); - module.ResourceName = (string)xModule.Element("ResourceName"); module.Selectable = ((string)xModule.Element("Selectable") == "true"); module.LibraryPrefix = (string)xModule.Element("LibraryPrefix"); module.HasDLL = ((string)xModule.Element("HasDLL") == "true"); |