From ee7dc8b072afd25fb0180f22658d4a772f2068b7 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 19 Dec 2009 00:00:41 +0000 Subject: WinGui: - Shave ~0.5s of the application startup time by not initialising an XmlSerializer when it's not needed. This is quite expensive. - Make sure the Activity window is initialised before we try set it's title. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3035 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/frmActivityWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win/C#/frmActivityWindow.cs') diff --git a/win/C#/frmActivityWindow.cs b/win/C#/frmActivityWindow.cs index 5f41c799b..9d004ffc7 100644 --- a/win/C#/frmActivityWindow.cs +++ b/win/C#/frmActivityWindow.cs @@ -28,14 +28,14 @@ namespace Handbrake public frmActivityWindow(string mode) { + InitializeComponent(); + _kilLThread = false; _position = 0; if (mode == "scan") SetScanMode(); else SetEncodeMode(); - - InitializeComponent(); } private void NewActivityWindow_Load(object sender, EventArgs e) { -- cgit v1.2.3