Fix Debug output

DebugHelper is useless, bacuase the return statement is always executed before the actual code.
This commit is contained in:
bao-qian
2015-10-31 18:06:57 +00:00
parent a6f8eb28f2
commit 9d9400f4d9
9 changed files with 12 additions and 23 deletions

View File

@@ -491,11 +491,11 @@ namespace Wox
{
if (!string.IsNullOrEmpty(query) && PluginManager.IsInstantQuery(query))
{
DebugHelper.WriteLine("execute query without delay");
Debug.WriteLine("execute query without delay");
return 0;
}
DebugHelper.WriteLine("execute query with 200ms delay");
Debug.WriteLine("execute query with 200ms delay");
return 200;
}