forked from qt-creator/qt-creator
CodeModel(s): Unify name/values of accessed environment variables
Format: QTC_*=(1|0). Now it's easier to change them in the Run Configuration of Qt Creator. Change-Id: Ifc45cecb89b33a31942b4c3e2d03851a1d72d0bf Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
#include <QTextCursor>
|
||||
#include <QTextDocument>
|
||||
|
||||
static const bool DebugTiming = !qgetenv("QTC_CLANG_VERBOSE").isEmpty();
|
||||
static const bool DebugTiming = qgetenv("QTC_CLANG_VERBOSE") == "1";
|
||||
|
||||
using namespace ClangCodeModel;
|
||||
using namespace ClangCodeModel::Internal;
|
||||
|
||||
Reference in New Issue
Block a user