diff options
Diffstat (limited to 'src/qml/debugger/qqmldebug.h')
-rw-r--r-- | src/qml/debugger/qqmldebug.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/debugger/qqmldebug.h b/src/qml/debugger/qqmldebug.h index d2b0220bc6..d6b6bb0301 100644 --- a/src/qml/debugger/qqmldebug.h +++ b/src/qml/debugger/qqmldebug.h @@ -54,9 +54,9 @@ struct Q_QML_EXPORT QQmlDebuggingEnabler // Execute code in constructor before first QQmlEngine is instantiated #if defined(QT_QML_DEBUG_NO_WARNING) -static QQmlDebuggingEnabler qmlEnableDebuggingHelper(false); -#elif defined(QT_QML_DEBUG) || defined(QT_DECLARATIVE_DEBUG) -static QQmlDebuggingEnabler qmlEnableDebuggingHelper(true); +static QQmlDebuggingEnabler qQmlEnableDebuggingHelper(false); +#elif defined(QT_QML_DEBUG) +static QQmlDebuggingEnabler qQmlEnableDebuggingHelper(true); #endif QT_END_NAMESPACE |