performance efficiencies

This commit is contained in:
Jeff Young
2023-12-18 17:20:34 +00:00
parent 3aa20e2008
commit 68cbb820a7
11 changed files with 25 additions and 25 deletions
+2 -2
View File
@@ -807,9 +807,9 @@ bool TOOL_MANAGER::dispatchInternal( TOOL_EVENT& aEvent )
// and transfer the previous view control settings to the new context
if( st->cofunc )
{
auto vc = st->vcSettings;
KIGFX::VC_SETTINGS viewControlSettings = st->vcSettings;
st->Push();
st->vcSettings = vc;
st->vcSettings = std::move( viewControlSettings );
}
st->cofunc = new COROUTINE<int, const TOOL_EVENT&>( std::move( func_copy ) );