aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlmemoryprofiler.cpp
diff options
context:
space:
mode:
authorGlenn Watson <glenn.watson@nokia.com>2012-05-16 08:14:13 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-16 00:47:40 +0200
commitd194e0062b410c114f363567c006da3d762ac9b5 (patch)
tree4727744226e6dd927fabb02c4e2daa9c1fb4c82d /src/qml/qml/qqmlmemoryprofiler.cpp
parent9e0b57b9a94c82d747e36260115050d912d6f576 (diff)
Enable memory profiler symbol lookup.
Enable the profiler initialization, now that the required API is available in qtbase. Change-Id: I620eade732cfe2de88360515350a7f95676fca04 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlmemoryprofiler.cpp')
-rw-r--r--src/qml/qml/qqmlmemoryprofiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlmemoryprofiler.cpp b/src/qml/qml/qqmlmemoryprofiler.cpp
index b43ac86009..60d767ad25 100644
--- a/src/qml/qml/qqmlmemoryprofiler.cpp
+++ b/src/qml/qml/qqmlmemoryprofiler.cpp
@@ -75,7 +75,7 @@ extern QFunctionPointer qt_linux_find_symbol_sys(const char *symbol);
static bool openLibrary()
{
-#if 0//def Q_OS_LINUX [Disabled until qt_linux_find_symbol_sys is available in qtbase]
+#ifdef Q_OS_LINUX
if (state == Unloaded) {
memprofile_stats = (qmlmemprofile_stats *) qt_linux_find_symbol_sys("qmlmemprofile_stats");
memprofile_clear = (qmlmemprofile_clear *) qt_linux_find_symbol_sys("qmlmemprofile_clear");