Skip to content

Commit

Permalink
Remove redundant method calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Aug 3, 2024
1 parent ed25077 commit 23d67e0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions TwitchDownloaderWPF/WindowQueueOptions.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ private void btnQueue_Click(object sender, RoutedEventArgs e)
Thumbnail = vodDownloadPage.imgThumbnail.Source
}
};
downloadTask.ChangeStatus(TwitchTaskStatus.Ready);

lock (PageQueue.taskLock)
{
Expand Down Expand Up @@ -187,7 +186,6 @@ private void btnQueue_Click(object sender, RoutedEventArgs e)
Thumbnail = vodDownloadPage.imgThumbnail.Source
}
};
chatTask.ChangeStatus(TwitchTaskStatus.Ready);

lock (PageQueue.taskLock)
{
Expand Down Expand Up @@ -261,7 +259,6 @@ private void btnQueue_Click(object sender, RoutedEventArgs e)
Thumbnail = clipDownloadPage.imgThumbnail.Source
}
};
downloadTask.ChangeStatus(TwitchTaskStatus.Ready);

lock (PageQueue.taskLock)
{
Expand Down Expand Up @@ -294,7 +291,6 @@ private void btnQueue_Click(object sender, RoutedEventArgs e)
Thumbnail = clipDownloadPage.imgThumbnail.Source
}
};
chatTask.ChangeStatus(TwitchTaskStatus.Ready);

lock (PageQueue.taskLock)
{
Expand Down Expand Up @@ -359,7 +355,6 @@ private void btnQueue_Click(object sender, RoutedEventArgs e)
Thumbnail = chatDownloadPage.imgThumbnail.Source
}
};
chatTask.ChangeStatus(TwitchTaskStatus.Ready);

lock (PageQueue.taskLock)
{
Expand Down Expand Up @@ -419,7 +414,6 @@ private void btnQueue_Click(object sender, RoutedEventArgs e)
Thumbnail = chatUpdatePage.imgThumbnail.Source
}
};
chatTask.ChangeStatus(TwitchTaskStatus.Ready);

lock (PageQueue.taskLock)
{
Expand Down Expand Up @@ -459,7 +453,6 @@ private void btnQueue_Click(object sender, RoutedEventArgs e)
{
renderTask.Info.Thumbnail = image;
}
renderTask.ChangeStatus(TwitchTaskStatus.Ready);

lock (PageQueue.taskLock)
{
Expand Down Expand Up @@ -520,7 +513,6 @@ private void EnqueueDataList()
Thumbnail = taskData.Thumbnail
}
};
downloadTask.ChangeStatus(TwitchTaskStatus.Ready);

lock (PageQueue.taskLock)
{
Expand Down Expand Up @@ -553,7 +545,6 @@ private void EnqueueDataList()
Thumbnail = taskData.Thumbnail
}
};
downloadTask.ChangeStatus(TwitchTaskStatus.Ready);

lock (PageQueue.taskLock)
{
Expand Down Expand Up @@ -594,7 +585,6 @@ private void EnqueueDataList()
Thumbnail = taskData.Thumbnail
}
};
downloadTask.ChangeStatus(TwitchTaskStatus.Ready);

lock (PageQueue.taskLock)
{
Expand Down

0 comments on commit 23d67e0

Please sign in to comment.