summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/memberlist.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp
index abb8aff..031b619 100644
--- a/src/memberlist.cpp
+++ b/src/memberlist.cpp
@@ -90,6 +90,7 @@ int MemberList::compareValues(const MemberDef *c1, const MemberDef *c2) const
return 1;
}
int cmp = qstricmp(c1->name(),c2->name());
+ if (cmp==0) cmp = qstricmp(c1->argsString(),c2->argsString());
return cmp!=0 ? cmp : c1->getDefLine()-c2->getDefLine();
}