summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-27 23:55:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-27 23:55:02 +0900
commit0614be092185ccde33cd70fe6076f19970ebe571 (patch)
treef2f066387e6f3b76630ed20610675f8fe6e04a30 /src/tools
parent03814b8bdda4b7f5cde4386f0aaef1119750fd10 (diff)
downloadqt3-0614be092185ccde33cd70fe6076f19970ebe571.tar.gz
qt3-0614be092185ccde33cd70fe6076f19970ebe571.zip
Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/qglobal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tools/qglobal.h b/src/tools/qglobal.h
index 27f784e..fac387c 100644
--- a/src/tools/qglobal.h
+++ b/src/tools/qglobal.h
@@ -1007,12 +1007,6 @@ Q_EXPORT bool qt_check_pointer( bool c, const char *, int );
# define Q_CHECK_PTR(p)
#endif
-#if !defined(QT_NO_COMPAT) // compatibility with Qt 2
-# if !defined(CHECK_PTR)
-# define CHECK_PTR(x) Q_CHECK_PTR(x)
-# endif
-#endif // QT_NO_COMPAT
-
enum QtMsgType { QtDebugMsg, QtWarningMsg, QtFatalMsg };
typedef void (*QtMsgHandler)(QtMsgType, const char *);