From 40b0b4d748d11ca9244e6535409c95aa59c4fcbb Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Thu, 5 Feb 2015 16:33:17 +0100 Subject: [PATCH] CppEditor: Remove debug code Change-Id: I93896fd018485716eae129f5f4d45a97f35b4a93 Reviewed-by: Orgad Shaneh --- src/plugins/cppeditor/cppeditor.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/plugins/cppeditor/cppeditor.cpp b/src/plugins/cppeditor/cppeditor.cpp index c0a178f4737..14930332dad 100644 --- a/src/plugins/cppeditor/cppeditor.cpp +++ b/src/plugins/cppeditor/cppeditor.cpp @@ -665,10 +665,6 @@ void CppEditorWidget::updateFunctionDeclDefLink() void CppEditorWidget::updateFunctionDeclDefLinkNow() { - static bool noTracking = qgetenv("QTC_NO_FUNCTION_DECL_DEF_LINK_TRACKING").trimmed() == "1"; - if (noTracking) - return; - IEditor *editor = EditorManager::currentEditor(); if (!editor || editor->widget() != this) return;