qdoc: Fixed All Classes list
In Qt5, each class has a URL, so the test for an empty URL fails in findAllClasses(). The test is no longer necessary and is removed. Task number: QTBUG-27695 Change-Id: Id3e7b17c9d68fc59340f88d1300f2a422ad2a18c Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
This commit is contained in:
parent
b065aa9c99
commit
9024570d79
@ -321,7 +321,7 @@ void QDocDatabase::findAllClasses(const InnerNode* node)
|
||||
{
|
||||
NodeList::const_iterator c = node->childNodes().constBegin();
|
||||
while (c != node->childNodes().constEnd()) {
|
||||
if ((*c)->access() != Node::Private && (*c)->url().isEmpty()) {
|
||||
if ((*c)->access() != Node::Private) {
|
||||
if ((*c)->type() == Node::Class && !(*c)->doc().isEmpty()) {
|
||||
QString className = (*c)->name();
|
||||
if ((*c)->parent() &&
|
||||
|
Loading…
Reference in New Issue
Block a user