mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-10 17:29:08 +00:00
COM is really a nightmare... Use managed solution (SharpCompress) instead
This commit is contained in:
@@ -40,12 +40,12 @@ namespace QuickLook.Plugin.TextViewer
|
||||
}
|
||||
}
|
||||
|
||||
public void BoundViewSize(string path, ViewerObject context)
|
||||
public void BoundViewSize(string path, ContextObject context)
|
||||
{
|
||||
context.PreferredSize = new Size {Width = 800, Height = 600};
|
||||
}
|
||||
|
||||
public void View(string path, ViewerObject context)
|
||||
public void View(string path, ContextObject context)
|
||||
{
|
||||
_tvp = new TextViewerPanel(path);
|
||||
|
||||
|
Reference in New Issue
Block a user