From 0bfa8219ca6cd38112d8d29879d698bf277ed267 Mon Sep 17 00:00:00 2001 From: bao-qian Date: Sun, 22 May 2016 19:18:32 +0100 Subject: [PATCH] remove unused code --- Wox/PublicAPIInstance.cs | 5 ----- Wox/ResultListBox.xaml.cs | 7 +------ Wox/SettingWindow.xaml.cs | 4 ---- Wox/ViewModel/SettingWindowViewModel.cs | 1 - 4 files changed, 1 insertion(+), 16 deletions(-) diff --git a/Wox/PublicAPIInstance.cs b/Wox/PublicAPIInstance.cs index 61fed11e0c..36d995fbe4 100644 --- a/Wox/PublicAPIInstance.cs +++ b/Wox/PublicAPIInstance.cs @@ -1,21 +1,16 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Windows; -using NHotkey; -using NHotkey.Wpf; using Squirrel; using Wox.Core.Plugin; using Wox.Core.Resource; -using Wox.Core.UserSettings; using Wox.Helper; using Wox.Infrastructure.Hotkey; using Wox.Plugin; using Wox.ViewModel; -using static Wox.ViewModel.SettingWindowViewModel; namespace Wox { diff --git a/Wox/ResultListBox.xaml.cs b/Wox/ResultListBox.xaml.cs index 23b70f3e32..ce6de8afb4 100644 --- a/Wox/ResultListBox.xaml.cs +++ b/Wox/ResultListBox.xaml.cs @@ -1,11 +1,6 @@ -using System.Collections.Generic; -using System.Linq; -using System.Runtime.Remoting.Contexts; -using System.Windows; +using System.Runtime.Remoting.Contexts; using System.Windows.Controls; using System.Windows.Input; -using Wox.Plugin; -using Wox.ViewModel; namespace Wox { diff --git a/Wox/SettingWindow.xaml.cs b/Wox/SettingWindow.xaml.cs index 06a4028f79..5076be5eb8 100644 --- a/Wox/SettingWindow.xaml.cs +++ b/Wox/SettingWindow.xaml.cs @@ -7,8 +7,6 @@ using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; using System.Windows.Navigation; using Microsoft.Win32; using NHotkey; @@ -17,11 +15,9 @@ using Wox.Core; using Wox.Core.Plugin; using Wox.Core.Resource; using Wox.Core.UserSettings; -using Wox.Helper; using Wox.Infrastructure.Hotkey; using Wox.Plugin; using Wox.ViewModel; -using Stopwatch = Wox.Infrastructure.Stopwatch; namespace Wox { diff --git a/Wox/ViewModel/SettingWindowViewModel.cs b/Wox/ViewModel/SettingWindowViewModel.cs index b5eae219b5..efd67b633c 100644 --- a/Wox/ViewModel/SettingWindowViewModel.cs +++ b/Wox/ViewModel/SettingWindowViewModel.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.IO; using System.Linq; using System.Windows;