diff --git a/Flow.Launcher/ViewModel/ResultsViewModel.cs b/Flow.Launcher/ViewModel/ResultsViewModel.cs index 70a38a8f4..bdc158a74 100644 --- a/Flow.Launcher/ViewModel/ResultsViewModel.cs +++ b/Flow.Launcher/ViewModel/ResultsViewModel.cs @@ -236,8 +236,6 @@ namespace Flow.Launcher.ViewModel public class ResultCollection : List, INotifyCollectionChanged { - private long editTime = 0; - private CancellationToken _token; public event NotifyCollectionChangedEventHandler CollectionChanged; @@ -294,7 +292,6 @@ namespace Flow.Launcher.ViewModel { if (Count != 0) RemoveAll(newItems.Count); AddAll(newItems); - editTime++; return; } else @@ -305,7 +302,6 @@ namespace Flow.Launcher.ViewModel { Capacity = newItems.Count; } - editTime++; } } } diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Main.cs b/Plugins/Flow.Launcher.Plugin.Sys/Main.cs index 7b5d85ae9..46757d936 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Sys/Main.cs @@ -34,7 +34,7 @@ namespace Flow.Launcher.Plugin.Sys [DllImport("user32")] private static extern void LockWorkStation(); - + [DllImport("Shell32.dll", CharSet = CharSet.Unicode)] private static extern uint SHEmptyRecycleBin(IntPtr hWnd, uint dwFlags);