qdoc: Use lowercase names for modules read from index files
authorTopi Reinio <topi.reinio@digia.com>
Tue, 25 Aug 2015 10:34:12 +0000 (12:34 +0200)
committerTopi Reiniƶ <topi.reinio@digia.com>
Wed, 26 Aug 2015 09:46:08 +0000 (09:46 +0000)
commit191b7237bfd5c2e74c0a25a17390dbb67073cf38
treec6a17d8cf0d1fd2256538badf936c34b9d479392
parenta5f46bc64798a4f5a63c7507c9e74a21247a6f49
qdoc: Use lowercase names for modules read from index files

The module names are used as keys in the map that defines the
forest of module trees. A physical module name (lowercase) is
used as the primary tree name, but modules read from index
were using a name written to the index file (project name,
typically CamelCase) as-is.

This caused issues for resolving link commands that have a
module name in the square bracket parameters. To ensure that
such links work, convert module names read from index to
lowercase, too.

Change-Id: I698e01fd1df888e4a78c06a76ad72b5eb1a70892
Reviewed-by: Martin Smith <martin.smith@digia.com>
src/tools/qdoc/qdocdatabase.cpp