From 415ae7021eeee278ad6c95be23e572dc18ff6a32 Mon Sep 17 00:00:00 2001 From: Stephen Quan Date: Wed, 30 Apr 2014 15:15:36 +1000 Subject: Bug 729236 - Added HIDE_COMPOUND_REFERENCE config option --- src/classdef.cpp | 13 ++++++++++--- src/config.xml | 9 +++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/classdef.cpp b/src/classdef.cpp index eded587..f7cdc79 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -2050,9 +2050,16 @@ QCString ClassDef::title() const } else { - pageTitle = theTranslator->trCompoundReference(displayName(), - m_impl->compType == Interface && getLanguage()==SrcLangExt_ObjC ? Class : m_impl->compType, - m_impl->tempArgs != 0); + if (Config_getBool("HIDE_COMPOUND_REFERENCE")) + { + pageTitle = displayName(); + } + else + { + pageTitle = theTranslator->trCompoundReference(displayName(), + m_impl->compType == Interface && getLanguage()==SrcLangExt_ObjC ? Class : m_impl->compType, + m_impl->tempArgs != 0); + } } return pageTitle; } diff --git a/src/config.xml b/src/config.xml index 349c41c..9b02ad8 100644 --- a/src/config.xml +++ b/src/config.xml @@ -886,6 +886,15 @@ Go to the next section or return to the ]]> +