]> granicus.if.org Git - handbrake/commitdiff
WinGui: Remove a couple instances of VistaOpenFileDialog in favour of the native...
authorsr55 <sr55.hb@outlook.com>
Fri, 17 Mar 2017 22:41:45 +0000 (22:41 +0000)
committersr55 <sr55.hb@outlook.com>
Fri, 17 Mar 2017 22:41:45 +0000 (22:41 +0000)
win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs

index 48e4e21dd07ea0b5f62f9e12cb97e4e6e853cb25..d98fb2d256547e38729fbb5eb40f9efd6f1dae60 100644 (file)
@@ -1148,7 +1148,7 @@ namespace HandBrakeWPF.ViewModels
         /// </summary>\r
         public void BrowseSendFileTo()\r
         {\r
-            VistaOpenFileDialog dialog = new VistaOpenFileDialog { Filter = "All files (*.*)|*.*", FileName = this.sendFileToPath };\r
+            OpenFileDialog dialog = new OpenFileDialog { Filter = "All files (*.*)|*.*", FileName = this.sendFileToPath };\r
             bool? dialogResult = dialog.ShowDialog();\r
             if (dialogResult.HasValue && dialogResult.Value)\r
             {\r
@@ -1175,7 +1175,7 @@ namespace HandBrakeWPF.ViewModels
         /// </summary>\r
         public void BrowseVlcPath()\r
         {\r
-            VistaOpenFileDialog dialog = new VistaOpenFileDialog { Filter = "All files (*.exe)|*.exe", FileName = this.VLCPath };\r
+            OpenFileDialog dialog = new OpenFileDialog { Filter = "All files (*.exe)|*.exe", FileName = this.VLCPath };\r
             bool? dialogResult = dialog.ShowDialog();\r
             if (dialogResult.HasValue && dialogResult.Value)\r
             {\r