From ca47896204482bf4a6979e3838bf7f09f61cebeb Mon Sep 17 00:00:00 2001
From: giy <giy@omp-system.ru>
Date: Fri, 02 Sep 2022 14:16:56 +0300
Subject: [PATCH] Обновление до версии 2.9.0
---
QtVsTools.Core/QMakeQuery.cs | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/QtVsTools.Core/QMakeQuery.cs b/QtVsTools.Core/QMakeQuery.cs
index 2dc1be5..1534deb 100644
--- a/QtVsTools.Core/QMakeQuery.cs
+++ b/QtVsTools.Core/QMakeQuery.cs
@@ -26,18 +26,15 @@
**
****************************************************************************/
-using System;
using System.Collections.Generic;
using System.Diagnostics;
-using System.IO;
using System.Linq;
using System.Text;
-using System.Threading;
-using QtVsTools.SyntaxAnalysis;
+using Microsoft.VisualStudio.Shell;
namespace QtVsTools.Core
{
- using static RegExpr;
+ using static SyntaxAnalysis.RegExpr;
public class QMakeQuery : QMake
{
@@ -58,7 +55,6 @@
public Dictionary<string, string> QueryAllValues()
{
- string result = string.Empty;
stdOutput = new StringBuilder();
Query = " ";
@@ -78,16 +74,20 @@
{
get
{
- string value = string.Empty;
- if (Properties.TryGetValue(name, out value))
+ if (Properties.TryGetValue(name, out string value))
return value;
- else
- return null;
+ return null;
}
}
Dictionary<string, string> _Properties;
- Dictionary<string, string> Properties => _Properties ?? (_Properties = QueryAllValues());
+ Dictionary<string, string> Properties
+ {
+ get
+ {
+ return _Properties ?? (_Properties = QueryAllValues());
+ }
+ }
Parser _PropertyParser;
Parser PropertyParser
--
Gitblit v1.9.1