diff options
Diffstat (limited to 'QtVsTools.Core/QMakeQuery.cs')
-rw-r--r-- | QtVsTools.Core/QMakeQuery.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/QtVsTools.Core/QMakeQuery.cs b/QtVsTools.Core/QMakeQuery.cs index 9e79bbea..5d942839 100644 --- a/QtVsTools.Core/QMakeQuery.cs +++ b/QtVsTools.Core/QMakeQuery.cs @@ -81,11 +81,9 @@ namespace QtVsTools.Core { ThreadHelper.ThrowIfNotOnUIThread(); - string value = string.Empty; - if (Properties.TryGetValue(name, out value)) + if (Properties.TryGetValue(name, out string value)) return value; - else - return null; + return null; } } |