diff options
author | sr55 <[email protected]> | 2009-11-25 12:51:48 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-11-25 12:51:48 +0000 |
commit | 17cd34a5dc137cf05265af9f7dcdff38a3624b0d (patch) | |
tree | 7d489475f53c942a83af545523b5c6e96cdf2662 /win/C#/frmPreview.cs | |
parent | c60fe691e3abd0f1c721bb746c60d122fa656efd (diff) |
WinGui:
- Preview Window: Handle the lack of QuickTime in a more user friendly fashion.
- Switch default .NET to 3.5
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2974 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmPreview.cs')
-rw-r--r-- | win/C#/frmPreview.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/win/C#/frmPreview.cs b/win/C#/frmPreview.cs index 59e6c2520..078a15e4d 100644 --- a/win/C#/frmPreview.cs +++ b/win/C#/frmPreview.cs @@ -28,10 +28,8 @@ namespace Handbrake {
InitializeComponent();
}
- catch (Exception exc)
+ catch (Exception)
{
- MessageBox.Show(mw, "It would appear QuickTime 7 is not installed or not accessible. QuickTime preview functionality will be disabled! \n\n Debug Info:\n" + exc, "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
- btn_playQT.Enabled = false;
noQT = true;
}
this.mainWindow = mw;
@@ -64,6 +62,11 @@ namespace Handbrake }
private void btn_playQT_Click(object sender, EventArgs e)
{
+ if (noQT)
+ {
+ MessageBox.Show(this, "It would appear QuickTime 7 is not installed or not accessible. Please (re)install QuickTime.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+ return;
+ }
if (mainWindow.text_destination.Text.Contains(".mkv"))
{
MessageBox.Show(this,
|