From 67c1e1f689f086928f50a8ed51b14da369a85a3e Mon Sep 17 00:00:00 2001 From: Paddy Xu Date: Sun, 18 Jun 2017 14:22:42 +0300 Subject: [PATCH] remove useless parameter --- QuickLook/ViewWindowManager.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/QuickLook/ViewWindowManager.cs b/QuickLook/ViewWindowManager.cs index 8fd6a99..7543df9 100644 --- a/QuickLook/ViewWindowManager.cs +++ b/QuickLook/ViewWindowManager.cs @@ -173,7 +173,7 @@ namespace QuickLook } } - internal bool InvokeViewer(string path = null, bool topMost = true, bool closeIfSame = false) + internal bool InvokeViewer(string path = null, bool closeIfSame = false) { if(closeIfSame) if (_currentMainWindow.Visibility == Visibility.Visible && path == _path) @@ -194,12 +194,12 @@ namespace QuickLook var matchedPlugin = PluginManager.GetInstance().FindMatch(_path); - BeginShowNewWindow(matchedPlugin, topMost); + BeginShowNewWindow(matchedPlugin); return true; } - private void BeginShowNewWindow(IViewer matchedPlugin, bool topMost = true) + private void BeginShowNewWindow(IViewer matchedPlugin) { _currentMainWindow.UnloadPlugin();