diff options
author | Bernd Weimer <bernd.weimer@pelagicore.com> | 2018-09-24 16:20:43 +0200 |
---|---|---|
committer | Bernd Weimer <bernd.weimer@pelagicore.com> | 2018-10-09 07:17:49 +0000 |
commit | babea7efca16147737b8b995afe266c3c629b24f (patch) | |
tree | ceea18cea615e84cd682c4615f22ee417dc17b7b /src/common-lib/startuptimer.cpp | |
parent | 9e4614e1a4b73d88ad140431c424e14c8d954272 (diff) | |
download | qtapplicationmanager-5.11.tar.gz |
Fix automatic startup timer reporting5.11
Cherry-picked from dev branch: 48f2823
Change-Id: Id2164a4e9a229c1edac082cdeb1897cf6916449b
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'src/common-lib/startuptimer.cpp')
-rw-r--r-- | src/common-lib/startuptimer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common-lib/startuptimer.cpp b/src/common-lib/startuptimer.cpp index e7f869f6..1599ac02 100644 --- a/src/common-lib/startuptimer.cpp +++ b/src/common-lib/startuptimer.cpp @@ -422,6 +422,12 @@ void StartupTimer::reset() } } +void StartupTimer::createAutomaticReport(const QString &title) +{ + if (m_automaticReporting) + createReport(title); +} + bool StartupTimer::automaticReporting() const { return m_automaticReporting; |