diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-01-05 13:56:01 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-06 14:40:57 +0100 |
commit | 156d160c56a802c8b477a1a975853eda2f8eff61 (patch) | |
tree | 101862e10d43061b5227ad40b65a540d23ef5fd2 /src/corelib/kernel/qtimerinfo_unix_p.h | |
parent | fc6c050b409ec4697a58e8f4fc028a6a4b3d46f7 (diff) |
QTimerInfo::expected is only needed for debugging
The code for calculating the expected time is only useful for debugging
purposes. Don't compile this into the library unless QTIMERINFO_DEBUG is
defined.
Change-Id: I6530e6a70410a12544410ef286225df98ceddcee
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qtimerinfo_unix_p.h')
-rw-r--r-- | src/corelib/kernel/qtimerinfo_unix_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qtimerinfo_unix_p.h b/src/corelib/kernel/qtimerinfo_unix_p.h index 89d4d457b0..7f651381ab 100644 --- a/src/corelib/kernel/qtimerinfo_unix_p.h +++ b/src/corelib/kernel/qtimerinfo_unix_p.h @@ -66,12 +66,12 @@ struct QTimerInfo { int id; // - timer identifier int interval; // - timer interval in milliseconds Qt::TimerType timerType; // - timer type - timeval expected; // when timer is expected to fire timeval timeout; // - when to actually fire QObject *obj; // - object to receive event QTimerInfo **activateRef; // - ref from activateTimers #ifdef QTIMERINFO_DEBUG + timeval expected; // when timer is expected to fire float cumulativeError; uint count; #endif |