mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-14 12:19:08 +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
|
internal class NativeMethods
|
||||||
{
|
{
|
||||||
private const uint FZ_STORE_DEFAULT = 256 << 20;
|
private const uint FZ_STORE_DEFAULT = 256 << 20;
|
||||||
|
@@ -12,12 +12,14 @@ namespace QuickLook.Plugin.VideoViewer
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class ViewerPanel : UserControl, IDisposable
|
public partial class ViewerPanel : UserControl, IDisposable
|
||||||
{
|
{
|
||||||
private ContextObject _context;
|
private readonly ContextObject _context;
|
||||||
|
|
||||||
public ViewerPanel(ContextObject context)
|
public ViewerPanel(ContextObject context)
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
|
_context = context;
|
||||||
|
|
||||||
buttonPlayPause.MouseLeftButtonUp += TogglePlayPause;
|
buttonPlayPause.MouseLeftButtonUp += TogglePlayPause;
|
||||||
|
|
||||||
mediaElement.PropertyChanged += ChangePlayPauseButton;
|
mediaElement.PropertyChanged += ChangePlayPauseButton;
|
||||||
|
@@ -81,7 +81,9 @@ namespace QuickLook
|
|||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#pragma warning disable 1058
|
||||||
catch // Catch SEH exceptions here.
|
catch // Catch SEH exceptions here.
|
||||||
|
#pragma warning restore 1058
|
||||||
{
|
{
|
||||||
_viewWindow.Close();
|
_viewWindow.Close();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user