summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-03-05 22:02:26 +0000
committersr55 <[email protected]>2017-03-05 22:02:26 +0000
commit8e5455063adb16ca65ffb501b1737ae97b918e56 (patch)
tree6894035bfc29ef08f63d0f3d05471119da101bf4 /win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
parent5d2c3cc85cae38c365ffdefa40054563d45b1506 (diff)
WinGui: Remove disk space warning from browser and allow the low level to be configurable in options. Resolves #590
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs15
1 files changed, 0 insertions, 15 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index f48902aec..3c6261641 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -1819,21 +1819,6 @@ namespace HandBrakeWPF.ViewModels
this.Destination = saveFileDialog.FileName;
- // Disk Space Check
- string drive = Path.GetPathRoot(this.Destination);
- if (drive != null && !drive.StartsWith(@"\\"))
- {
- DriveInfo c = new DriveInfo(drive);
- if (c.AvailableFreeSpace < this.userSettingService.GetUserSetting<long>(UserSettingConstants.PauseOnLowDiskspaceLevel))
- {
- this.errorService.ShowMessageBox(
- Resources.MainViewModel_LowDiskSpaceWarning,
- Resources.MainViewModel_LowDiskSpace,
- MessageBoxButton.OK,
- MessageBoxImage.Warning);
- }
- }
-
// Set the Extension Dropdown. This will also set Mp4/m4v correctly.
if (!string.IsNullOrEmpty(saveFileDialog.FileName))
{