diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2017-07-27 07:31:02 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2017-08-03 14:44:28 +0000 |
commit | 481fd0aab96cc27f689f4ba8d98a89e541631675 (patch) | |
tree | fa85045b2436003c0d73d2e8fdfdea5af5271aba /src/core/jobs/qthreadpooler_p.h | |
parent | afd242a810612341a37d496007ad79317d2efbea (diff) |
Properly use QT_CONFIG for Qt3D profiling options
Change-Id: Id3bb7bb657f3d48c6c4cd3d5e86c43ad64dca791
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/core/jobs/qthreadpooler_p.h')
-rw-r--r-- | src/core/jobs/qthreadpooler_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/jobs/qthreadpooler_p.h b/src/core/jobs/qthreadpooler_p.h index 9d632a696..5a2104cdd 100644 --- a/src/core/jobs/qthreadpooler_p.h +++ b/src/core/jobs/qthreadpooler_p.h @@ -61,7 +61,7 @@ #include <Qt3DCore/private/qaspectjob_p.h> #include <Qt3DCore/private/task_p.h> -#ifdef QT3D_JOBS_RUN_STATS +#if QT_CONFIG(qt3d_profile_jobs) #include <QtCore/QElapsedTimer> #endif @@ -84,7 +84,7 @@ public: void setDependencyHandler(DependencyHandler *handler); int maxThreadCount() const; -#ifdef QT3D_JOBS_RUN_STATS +#if QT_CONFIG(qt3d_profile_jobs) static QElapsedTimer m_jobsStatTimer; // Aspects + Job threads |