OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 11 Sep 2010 14:32:04 +0000 (14:32 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 11 Sep 2010 14:32:04 +0000 (14:32 +0000)
- Force a CLI version data update when user settings is upgraded.

git-svn-id: svn://localhost/HandBrake/trunk@3513 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/Functions/Main.cs
win/C#/Program.cs

index 02cf67b..4fc0496 100644 (file)
@@ -3,8 +3,6 @@
     Homepage: <http://handbrake.fr>.\r
     It may be used under the terms of the GNU General Public License. */\r
 \r
-using HandBrake.ApplicationServices.Services;\r
-\r
 namespace Handbrake.Functions\r
 {\r
     using System;\r
@@ -22,6 +20,7 @@ namespace Handbrake.Functions
     using HandBrake.ApplicationServices.Parsing;\r
     using HandBrake.ApplicationServices.Services.Interfaces;\r
     using Model;\r
+    using HandBrake.ApplicationServices.Services;\r
 \r
     /// <summary>\r
     /// Useful functions which various screens can use.\r
index 79b9a26..24d1507 100644 (file)
@@ -39,6 +39,7 @@ namespace Handbrake
             {\r
                 Settings.Default.Upgrade();\r
                 Settings.Default.UpdateRequired = false;\r
+                Functions.Main.SetCliVersionData();\r
             }\r
 \r
             // Make sure we have any pre-requesits before trying to launch\r