diff options
author | axis <qt-info@nokia.com> | 2009-05-15 12:35:48 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-05-15 12:35:48 (GMT) |
commit | cbe647bcb7f2df85d9bd350e8e4f8fd1f5fb287a (patch) | |
tree | 13bc213bdb83fc75a4188b7ddef22139b1b66615 /src/corelib/kernel | |
parent | 4a964c6a6e715e4a66e84edf7e564872e5c8f7ed (diff) | |
download | Qt-cbe647bcb7f2df85d9bd350e8e4f8fd1f5fb287a.zip Qt-cbe647bcb7f2df85d9bd350e8e4f8fd1f5fb287a.tar.gz Qt-cbe647bcb7f2df85d9bd350e8e4f8fd1f5fb287a.tar.bz2 |
Made the RequestComplete debug code depend on QT_DEBUG.
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r-- | src/corelib/kernel/qeventdispatcher_symbian_p.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_symbian_p.h b/src/corelib/kernel/qeventdispatcher_symbian_p.h index b5ce868..8144472 100644 --- a/src/corelib/kernel/qeventdispatcher_symbian_p.h +++ b/src/corelib/kernel/qeventdispatcher_symbian_p.h @@ -216,9 +216,7 @@ private: RProcess m_processHandle; }; -#define DEBUG_REQUEST_COMPLETE - -#ifdef DEBUG_REQUEST_COMPLETE +#ifdef QT_DEBUG // EActive is defined to 1 and ERequestPending to 2, but they are both private. // A little dangerous to rely on, but it is only for debugging. # define REQUEST_STATUS_ACTIVE_AND_PENDING 3 @@ -230,7 +228,7 @@ private: #endif // Convenience functions for doing some sanity checking on our own complete code. -// Unless you define DEBUG_REQUEST_COMPLETE, it is exactly equivalent to the Symbian version. +// Unless QT_DEBUG is defined, it is exactly equivalent to the Symbian version. inline void QEventDispatcherSymbian::RequestComplete(TRequestStatus *&status, TInt reason) { VERIFY_PENDING_REQUEST_STATUS |