From 37642a848bfaa1ba85ba12067a9b1c4e9c28e953 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 31 May 2017 20:31:11 +0100 Subject: [PATCH] WinGui: Fix an issue with the start/stop buttons on the toolbar. --- win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 93aac9c19..31efc4d9b 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -205,7 +205,6 @@ namespace HandBrakeWPF.ViewModels this.scanService.ScanCompleted += this.ScanCompleted; this.scanService.ScanStatusChanged += this.ScanStatusChanged; this.queueProcessor.JobProcessingStarted += this.QueueProcessorJobProcessingStarted; - this.queueProcessor.QueuePaused += this.QueueProcessor_QueuePaused; this.queueProcessor.QueueCompleted += this.QueueCompleted; this.queueProcessor.QueueChanged += this.QueueChanged; this.queueProcessor.EncodeService.EncodeStatusChanged += this.EncodeStatusChanged; @@ -1319,7 +1318,6 @@ namespace HandBrakeWPF.ViewModels this.queueProcessor.QueueCompleted -= this.QueueCompleted; this.queueProcessor.QueueChanged -= this.QueueChanged; this.queueProcessor.JobProcessingStarted -= this.QueueProcessorJobProcessingStarted; - this.queueProcessor.QueuePaused -= this.QueueProcessor_QueuePaused; this.queueProcessor.EncodeService.EncodeStatusChanged -= this.EncodeStatusChanged; this.userSettingService.SettingChanged -= this.UserSettingServiceSettingChanged; } @@ -2546,21 +2544,6 @@ namespace HandBrakeWPF.ViewModels }); } - private void QueueProcessor_QueuePaused(object sender, EventArgs e) - { - Execute.OnUIThread( - () => - { - this.ProgramStatusLabel = Resources.Main_QueuePaused; - this.IsEncoding = false; - - if (this.windowsSeven.IsWindowsSeven) - { - this.windowsSeven.SetTaskBarProgressToNoProgress(); - } - }); - } - /// /// The queue changed. /// -- 2.40.0