From 156d160c56a802c8b477a1a975853eda2f8eff61 Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Thu, 5 Jan 2012 13:56:01 +0100 Subject: 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 --- src/corelib/kernel/qtimerinfo_unix_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/kernel/qtimerinfo_unix_p.h') 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 -- cgit v1.2.3