diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2023-02-07 15:29:45 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2023-02-23 14:28:49 +0000 |
commit | f27d7ecce951caa0458330a7deaf4fd0864a92a2 (patch) | |
tree | f54478fcd6658863389e2fa5838da235f0ee8f11 | |
parent | bd86d89066b40cc34d5a2676017e256e445fac10 (diff) |
Remove the only usage of constant
Follows the pattern used by other Has{}Step() functions.
Change-Id: I0188fe44fea2f290b565a0d2222d6b73ad7d4554
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
-rw-r--r-- | QtVsTools.Core/QtProject.cs | 2 | ||||
-rw-r--r-- | QtVsTools.Core/Resources.cs | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/QtVsTools.Core/QtProject.cs b/QtVsTools.Core/QtProject.cs index 76c0f0b6..e1a8b5a5 100644 --- a/QtVsTools.Core/QtProject.cs +++ b/QtVsTools.Core/QtProject.cs @@ -371,7 +371,7 @@ namespace QtVsTools.Core { if (file.ItemType == QtUic.ItemTypeName) return true; - return CheckForCommand(file, Resources.uic4Command); + return CheckForCommand(file, "uic.exe"); } private static bool CheckForCommand(VCFile file, string cmd) diff --git a/QtVsTools.Core/Resources.cs b/QtVsTools.Core/Resources.cs index 7ef7bc81..9aa37123 100644 --- a/QtVsTools.Core/Resources.cs +++ b/QtVsTools.Core/Resources.cs @@ -57,8 +57,6 @@ namespace QtVsTools.Core // Project properties labels public const string projLabelQtSettings = "QtSettings"; - public const string uic4Command = "$(QTDIR)\\bin\\uic.exe"; - // If those directories do not equal to the project directory // they have to be added to the include directories for // compiling! |