remove obsolete edittime variable

This commit is contained in:
Jeremy 2021-12-19 15:24:56 +11:00
parent 680f616365
commit fe6945bb61
2 changed files with 1 additions and 5 deletions

View file

@ -236,8 +236,6 @@ namespace Flow.Launcher.ViewModel
public class ResultCollection : List<ResultViewModel>, 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++;
}
}
}

View file

@ -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);