Disable the rendering profiling

Change-Id: Ia2d6216104c66a4b2e7bfb36418c13eaa51f55e9
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
bb10
BogDan Vatra 2014-01-31 11:38:54 +02:00 committed by The Qt Project
parent 25d5b2e07b
commit 231cac6119
1 changed files with 5 additions and 2 deletions

View File

@ -57,7 +57,7 @@
QT_BEGIN_NAMESPACE
#warning REMOVE ME
#ifdef QANDROIDPLATFORMSCREEN_DEBUG
class ScopedProfiler
{
public:
@ -75,7 +75,10 @@ private:
QString m_msg;
};
#define PROFILE_SCOPE ScopedProfiler ___sp___(__func__)
# define PROFILE_SCOPE ScopedProfiler ___sp___(__func__)
#else
# define PROFILE_SCOPE
#endif
QAndroidPlatformScreen::QAndroidPlatformScreen():QObject(),QPlatformScreen()
{