Remove useless codes.

This commit is contained in:
qianlifeng
2014-03-18 23:41:34 +08:00
parent 4f7c96326d
commit b402bd6c0e
4 changed files with 8 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ namespace Wox.Commands
private static PluginCommand pluginCmd;
private static SystemCommand systemCmd;
public static void DispatchCommand(Query query, bool updateView = true)
public static void DispatchCommand(Query query)
{
//lazy init command instance.
if (pluginCmd == null)
@@ -24,8 +24,8 @@ namespace Wox.Commands
systemCmd = new SystemCommand();
}
systemCmd.Dispatch(query,updateView);
pluginCmd.Dispatch(query,updateView);
systemCmd.Dispatch(query);
pluginCmd.Dispatch(query);
}
}
}