Skip to content

Commit

Permalink
[win-nix] refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin committed Nov 26, 2024
1 parent d3b7664 commit 4dffbfd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion win-linux/src/cascapplicationmanagerwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ bool CAscApplicationManagerWrapper::processCommonEvent(NSEditorApi::CAscCefMenuE
return true;
} else
if ( !(cmd.find(L"recent:forget") == std::wstring::npos) ) {
m_private->removeRecentByViewId(event->get_SenderId());
RemoveRecentByViewId(event->get_SenderId());
return true;
} else
if ( !(cmd.find(L"system:changed") == std::wstring::npos) ) {
Expand Down
5 changes: 0 additions & 5 deletions win-linux/src/cascapplicationmanagerwrapper_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -408,11 +408,6 @@ class CAscApplicationManagerWrapper_Private
return m_appmanager.editorWindowFromViewId(viewid);
}

auto removeRecentByViewId(int viewid) -> bool
{
return m_appmanager.RemoveRecentByViewId(viewid);
}

auto openDocument(const COpenOptions& opts) -> bool
{
COpenOptions opts_ext{opts};
Expand Down

0 comments on commit 4dffbfd

Please sign in to comment.