aboutsummaryrefslogtreecommitdiffstats
path: root/QtVsTools.Core/QtVersionManager.cs
diff options
context:
space:
mode:
authorAli Can Demiralp <ali.demiralp@qt.io>2024-03-07 05:56:31 +0100
committerAli Can Demiralp <ali.demiralp@qt.io>2024-03-26 08:33:41 +0000
commit1336cd7510002970849b4bb83556484fc78392b7 (patch)
treed8898f7b0200581355872437c49ee33120e137a0 /QtVsTools.Core/QtVersionManager.cs
parent2ae465bb114e90af19d4c89746ab04efd95c63a6 (diff)
Inform user if project Qt installation property is invalid
Task-number: QTVSADDINBUG-1132 Change-Id: I4d86de650db1acc723ec579bd6d5108e955a06a6 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Diffstat (limited to 'QtVsTools.Core/QtVersionManager.cs')
-rw-r--r--QtVsTools.Core/QtVersionManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/QtVsTools.Core/QtVersionManager.cs b/QtVsTools.Core/QtVersionManager.cs
index bcbdfbd2..149b66f4 100644
--- a/QtVsTools.Core/QtVersionManager.cs
+++ b/QtVsTools.Core/QtVersionManager.cs
@@ -169,7 +169,7 @@ namespace QtVsTools.Core
defaultVersion = name;
}
}
- return VerifyIfQtVersionExists(defaultVersion) ? defaultVersion : null;
+ return VersionExists(defaultVersion) ? defaultVersion : null;
}
public static string GetDefaultVersionInstallPath()
@@ -204,7 +204,7 @@ namespace QtVsTools.Core
return true;
}
- private static bool VerifyIfQtVersionExists(string version)
+ public static bool VersionExists(string version)
{
if (version == "$(DefaultQtVersion)")
version = GetDefaultVersion();