diff options
Diffstat (limited to 'win/C#/frmUpdater.cs')
-rw-r--r-- | win/C#/frmUpdater.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/C#/frmUpdater.cs b/win/C#/frmUpdater.cs index 97a5c9a64..789a620fc 100644 --- a/win/C#/frmUpdater.cs +++ b/win/C#/frmUpdater.cs @@ -12,12 +12,12 @@ namespace Handbrake {
public partial class frmUpdater : Form
{
- AppcastReader appcast = new AppcastReader();
- public frmUpdater()
+ AppcastReader appcast;
+ public frmUpdater(AppcastReader reader)
{
InitializeComponent();
- appcast.getInfo(); // Initializes the appcast
+ appcast = reader;
getRss();
setVersions();
}
@@ -37,7 +37,7 @@ namespace Handbrake private void btn_installUpdate_Click(object sender, EventArgs e)
{
frmDownload download = new frmDownload(appcast.downloadFile);
- download.Show();
+ download.ShowDialog();
this.Close();
}
|