Fix build in Release mode.

This commit is contained in:
Ghislain MARY 2017-03-28 17:50:20 +02:00
parent e66fdf1743
commit 4b7f6526ca

View file

@ -89,8 +89,8 @@ AsyncObjectBuilder::~AsyncObjectBuilder () {
}
void AsyncObjectBuilder::createObject (QQmlEngine *engine, const char *path, Decorator decorator) {
Q_ASSERT(!m_block_creation);
#ifdef QT_DEBUG
Q_ASSERT(!m_block_creation);
m_block_creation = true;
#endif // ifdef QT_DEBUG