91bddcf1cce85f032ba41c8e2b0fab6cc9b08dfd
 src/searchindex.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/searchindex.cpp b/src/searchindex.cpp
index 0380b33..f25c2e3 100644
--- a/src/searchindex.cpp
+++ b/src/searchindex.cpp
@@ -616,11 +616,11 @@ class SearchIndexList : public SDict< QList<Definition> >
    ~SearchIndexList() {}
     void append(Definition *d)
     {
-      QList<Definition> *l = find(d->name());
+      QList<Definition> *l = find(d->localName());
       if (l==0)
       {
         l=new QList<Definition>;
-        SDict< QList<Definition> >::append(d->name(),l);
+        SDict< QList<Definition> >::append(d->localName(),l);
       }
       l->append(d);
     }
