aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTuomas Heimonen <tuomas.heimonen@theqtcompany.com>2015-04-22 11:21:06 +0300
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-06-17 09:08:28 +0000
commitc4854e64fe40fca164315d9251ae04af386f5adf (patch)
treebfbec97b83bf0e26f113021e42e6372104d7818d
parent64199b0a5842b6b57f694c14d7f1327cf5f2344f (diff)
Fix to debug flag DATABLOB_DEBUG
Change-Id: I65ea0283c643371f3debd4a29a5fe4dbcb1c642c Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
-rw-r--r--src/qml/qml/qqmltypeloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmltypeloader.cpp b/src/qml/qml/qqmltypeloader.cpp
index c78bbaf30b..431c5157e6 100644
--- a/src/qml/qml/qqmltypeloader.cpp
+++ b/src/qml/qml/qqmltypeloader.cpp
@@ -81,7 +81,7 @@
#define ASSERT_MAINTHREAD() do { if (m_thread->isThisThread()) qFatal("QQmlTypeLoader: Caller not in main thread"); } while (false)
#define ASSERT_LOADTHREAD() do { if (!m_thread->isThisThread()) qFatal("QQmlTypeLoader: Caller not in load thread"); } while (false)
-#define ASSERT_CALLBACK() do { if(!m_manager || !m_manager->m_thread->isThisThread()) qFatal("QQmlDataBlob: An API call was made outside a callback"); } while(false)
+#define ASSERT_CALLBACK() do { if (!m_typeLoader || !m_typeLoader->m_thread->isThisThread()) qFatal("QQmlDataBlob: An API call was made outside a callback"); } while (false)
#else