diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-28 10:59:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-28 19:35:13 +0200 |
commit | d72511eda923c827a6175bec9b8f24c237f82730 (patch) | |
tree | 2f0173ce3a9ff08b9cfccad0313db9a142f1a6ba /vcl/source/window/dockmgr.cxx | |
parent | 0bcc4b55d723f73b2fb7a86fcfebeca49905079e (diff) |
gives names to all the Idles and Tasks
enforce it by making the constructor parameter non-default.
Change-Id: I321543e4dcf15ea0a43ad8cce91d2f8dc22df6ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122766
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/dockmgr.cxx')
-rw-r--r-- | vcl/source/window/dockmgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx index 645aa8dc19e5..e71c7f420580 100644 --- a/vcl/source/window/dockmgr.cxx +++ b/vcl/source/window/dockmgr.cxx @@ -74,6 +74,8 @@ ImplDockFloatWin2::ImplDockFloatWin2( vcl::Window* pParent, WinBits nWinBits, FloatingWindow( pParent, nWinBits ), mpDockWin( pDockingWin ), mnLastTicks( tools::Time::GetSystemTicks() ), + m_aDockTimer("vcl::ImplDockFloatWin2 m_aDockTimer"), + m_aEndDockTimer( "vcl::ImplDockFloatWin2 m_aEndDockTimer" ), mbInMove( false ), mnLastUserEvent( nullptr ) { @@ -93,12 +95,10 @@ ImplDockFloatWin2::ImplDockFloatWin2( vcl::Window* pParent, WinBits nWinBits, m_aDockTimer.SetInvokeHandler( LINK( this, ImplDockFloatWin2, DockTimerHdl ) ); m_aDockTimer.SetPriority( TaskPriority::HIGH_IDLE ); m_aDockTimer.SetTimeout( 50 ); - m_aDockTimer.SetDebugName( "vcl::ImplDockFloatWin2 m_aDockTimer" ); m_aEndDockTimer.SetInvokeHandler( LINK( this, ImplDockFloatWin2, EndDockTimerHdl ) ); m_aEndDockTimer.SetPriority( TaskPriority::HIGH_IDLE ); m_aEndDockTimer.SetTimeout( 50 ); - m_aEndDockTimer.SetDebugName( "vcl::ImplDockFloatWin2 m_aEndDockTimer" ); } ImplDockFloatWin2::~ImplDockFloatWin2() |