diff options
author | Kai Koehne <kai.koehne@digia.com> | 2013-07-01 14:10:22 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-02 14:59:55 +0200 |
commit | ee88f23f430aa266c1cc19e823b1815133df15aa (patch) | |
tree | 7cf1d882c5671b769816ece7c9b6625869c2351d /src/qml/debugger/qqmldebug.h | |
parent | ecb758910f20fc4ca3269c8c6de6c322844268a4 (diff) |
Debugger: Remove handling of QT_DECLARATIVE_DEBUG macro
This was added originally to keep older Qt Creator versions working.
However, any newer versions automatically set QT_QML_DEBUG too, and
checking for both actively prevented selectively enabling QtQuick1 or
QtQuick2 debuggers only.
Change-Id: I4d4a984958ef3430ebe05b267bd87185005bbe51
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
Diffstat (limited to 'src/qml/debugger/qqmldebug.h')
-rw-r--r-- | src/qml/debugger/qqmldebug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/debugger/qqmldebug.h b/src/qml/debugger/qqmldebug.h index baf42807f9..d6b6bb0301 100644 --- a/src/qml/debugger/qqmldebug.h +++ b/src/qml/debugger/qqmldebug.h @@ -55,7 +55,7 @@ struct Q_QML_EXPORT QQmlDebuggingEnabler // Execute code in constructor before first QQmlEngine is instantiated #if defined(QT_QML_DEBUG_NO_WARNING) static QQmlDebuggingEnabler qQmlEnableDebuggingHelper(false); -#elif defined(QT_QML_DEBUG) || defined(QT_DECLARATIVE_DEBUG) +#elif defined(QT_QML_DEBUG) static QQmlDebuggingEnabler qQmlEnableDebuggingHelper(true); #endif |