[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdevplatform/plugins/classbrowser
From: Hamish Rodda <rodda () kde ! org>
Date: 2008-09-12 7:20:21
Message-ID: 1221204021.161325.5196.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 860144 by rodda:
Use left() again now that I've committed it
M +3 -4 classmodel.cpp
--- trunk/KDE/kdevplatform/plugins/classbrowser/classmodel.cpp #860143:860144
@@ -524,14 +524,13 @@
CodeModel::self().items(file, itemCount, items);
for(uint a = 0; a < itemCount; ++a) {
- IndexedQualifiedIdentifier id(items[a].id);
- //kDebug() << "Node" << id.identifier().toString();
-
// Don't insert unknown or forward declarations into the class browser
if (items[a].kind == CodeModelItem::Unknown || items[a].kind == CodeModelItem::ForwardDeclaration)
continue;
+ IndexedQualifiedIdentifier id(items[a].id);
Node* topParent = m_topNode;
+
switch (items[a].kind) {
case CodeModelItem::Function:
if (level == 1)
@@ -570,7 +569,7 @@
//kDebug() << "Sub-identifier " << qi.left(level).toString();
isSubIdentifier = true;
- n = objectForIdentifier(qi.mid(0,level));
+ n = objectForIdentifier(qi.left(level));
}
if (!n) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic