mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-13 19:19:10 +00:00
Suppress compiler warnings
This commit is contained in:
@@ -102,14 +102,6 @@ namespace QuickLook.Plugin.PDFViewer
|
||||
}
|
||||
}
|
||||
|
||||
internal struct NativePage
|
||||
{
|
||||
public Matrix Ctm;
|
||||
public Rectangle MediaBox;
|
||||
public int Rotate;
|
||||
}
|
||||
|
||||
|
||||
internal class NativeMethods
|
||||
{
|
||||
private const uint FZ_STORE_DEFAULT = 256 << 20;
|
||||
|
@@ -12,12 +12,14 @@ namespace QuickLook.Plugin.VideoViewer
|
||||
/// </summary>
|
||||
public partial class ViewerPanel : UserControl, IDisposable
|
||||
{
|
||||
private ContextObject _context;
|
||||
private readonly ContextObject _context;
|
||||
|
||||
public ViewerPanel(ContextObject context)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
_context = context;
|
||||
|
||||
buttonPlayPause.MouseLeftButtonUp += TogglePlayPause;
|
||||
|
||||
mediaElement.PropertyChanged += ChangePlayPauseButton;
|
||||
|
@@ -81,7 +81,9 @@ namespace QuickLook
|
||||
throw;
|
||||
}
|
||||
}
|
||||
#pragma warning disable 1058
|
||||
catch // Catch SEH exceptions here.
|
||||
#pragma warning restore 1058
|
||||
{
|
||||
_viewWindow.Close();
|
||||
|
||||
|
Reference in New Issue
Block a user