summaryrefslogtreecommitdiffstats
path: root/win/C#/frmPreview.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/frmPreview.cs')
-rw-r--r--win/C#/frmPreview.cs9
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,