summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2016-07-20 10:54:30 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-05 08:17:46 -0500
commit4ffee8f4532cc561cd0c717b4bd6e52a99f5c43d (patch)
treeb81098e0b953f32810ba5ae1b842be26ead96d9e /desktop
parent4d6750e789c4dd6d75398021b9f804dcd5aab78f (diff)
tdf#97087 GDB pretty print the Scheduler task list
In addition to the GDB pretty printer, this annotates a lot more Timers and Idles. Change-Id: I5b93fab02161b23bb753e65ef92643a04fb0789c (cherry picked from commit 9e51007039770370182839846676b205f5c34c57) (cherry picked from commit a090e1e17962c5ca95f66c9d18fca6ac5dd4bca0)
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 7c70eca66101..59bb4822e654 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -531,6 +531,9 @@ Desktop::Desktop()
, m_aBootstrapError(BE_OK)
, m_aBootstrapStatus(BS_OK)
{
+ m_firstRunTimer.SetTimeout(3000); // 3 sec.
+ m_firstRunTimer.SetTimeoutHdl(LINK(this, Desktop, AsyncInitFirstRun));
+ m_firstRunTimer.SetDebugName( "desktop::Desktop m_firstRunTimer" );
}
Desktop::~Desktop()
@@ -2656,8 +2659,6 @@ void Desktop::CheckFirstRun( )
{
// use VCL timer, which won't trigger during shutdown if the
// application exits before timeout
- m_firstRunTimer.SetTimeout(3000); // 3 sec.
- m_firstRunTimer.SetTimeoutHdl(LINK(this, Desktop, AsyncInitFirstRun));
m_firstRunTimer.Start();
#ifdef _WIN32