summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.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/QueueViewModel.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/QueueViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
index 2159a2e22..7f5ba9b00 100644
--- a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
@@ -25,7 +25,7 @@ namespace HandBrakeWPF.ViewModels
using HandBrakeWPF.Services.Interfaces;
using HandBrakeWPF.ViewModels.Interfaces;
- using Ookii.Dialogs.Wpf;
+ using Microsoft.Win32;
/// <summary>
/// The Preview View Model
@@ -315,7 +315,7 @@ namespace HandBrakeWPF.ViewModels
/// </summary>
public void Export()
{
- VistaSaveFileDialog dialog = new VistaSaveFileDialog
+ SaveFileDialog dialog = new SaveFileDialog
{
Filter = "HandBrake Queue Files (*.hbq)|*.hbq",
OverwritePrompt = true,
@@ -333,7 +333,7 @@ namespace HandBrakeWPF.ViewModels
/// </summary>
public void Import()
{
- VistaOpenFileDialog dialog = new VistaOpenFileDialog { Filter = "HandBrake Queue Files (*.hbq)|*.hbq", CheckFileExists = true };
+ OpenFileDialog dialog = new OpenFileDialog { Filter = "HandBrake Queue Files (*.hbq)|*.hbq", CheckFileExists = true };
if (dialog.ShowDialog() == true)
{
this.queueProcessor.RestoreQueue(dialog.FileName);