Skip to content

Commit e9c0869

Browse files
paulwickingQt Cherry-pick Bot
authored andcommitted
QDoc: Remove unused member ConfigStrings::ALIAS
The implementation of QDoc's `Config` class includes a struct, `ConfigStrings`. This struct is a wrapper for static QStrings, and is a Singleton-like monostate container that provides a globally accessible, single set of configuration options across the entire application. This struct defines the member field `ALIAS`. However, this field is never initialized with a default value, never set with a value read from a `qdocconf` file, and never read during QDoc's execution. Hence, the field is deemed unused and unnecessary, and thus removed. Change-Id: I0eb29a72b26c8c3210401780f98eb133d5257f14 Reviewed-by: Topi Reiniö <[email protected]> (cherry picked from commit e11cc48) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
1 parent a76aab7 commit e9c0869

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/qdoc/qdoc/src/qdoc/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ class Config : public Singleton<Config>
239239

240240
struct ConfigStrings
241241
{
242-
static QString ALIAS;
243242
static QString AUTOLINKERRORS;
244243
static QString BUILDVERSION;
245244
static QString CODEINDENT;

0 commit comments

Comments
 (0)