summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-23 19:28:45 +0000
committersr55 <[email protected]>2015-01-23 19:28:45 +0000
commit0eee9e04b97e223b9751a8268b3c96fa9ac75b6a (patch)
tree71269901fee03c0f6c1f5c826b40f29759d7b565 /win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs
parent2ed21d4f40e109da31b9a8e3da4ca7633dcf378c (diff)
WinGui: Switch all the FileOpen / FileSave dialogs over to the native windows one. There is no difference for windows 7 users and later. This was used to give XP users a better experience which is no longer relevant.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6807 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs
index 660c99843..8400f2b7c 100644
--- a/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs
@@ -14,7 +14,6 @@ namespace HandBrakeWPF.ViewModels
using System.IO;
using System.Linq;
- using HandBrake.ApplicationServices.Model;
using HandBrake.ApplicationServices.Services.Encode.Model;
using HandBrake.ApplicationServices.Services.Encode.Model.Models;
using HandBrake.ApplicationServices.Services.Scan.Model;
@@ -24,7 +23,7 @@ namespace HandBrakeWPF.ViewModels
using HandBrakeWPF.Services.Presets.Model;
using HandBrakeWPF.ViewModels.Interfaces;
- using Ookii.Dialogs.Wpf;
+ using Microsoft.Win32;
/// <summary>
/// The Subtitles View Model
@@ -313,7 +312,7 @@ namespace HandBrakeWPF.ViewModels
/// </summary>
public void Import()
{
- VistaOpenFileDialog dialog = new VistaOpenFileDialog
+ OpenFileDialog dialog = new OpenFileDialog
{
Filter = "SRT files (*.srt)|*.srt",
CheckFileExists = true,