Next and Prev buttons for Corax and Lorgar, debugging

This commit is contained in:
Blue 2019-01-03 03:26:42 +03:00
parent 22323b504f
commit 0e31c5fdf2
14 changed files with 394 additions and 72 deletions

View file

@ -44,6 +44,15 @@ void M::ICatalogue::clear()
broadcast(new W::Vocabulary(), W::Address{u"clear"});
}
std::map<uint64_t, M::Vocabulary*>::iterator aItr = activeChildren.begin();
std::map<uint64_t, M::Vocabulary*>::iterator aEnd = activeChildren.end();
for (; aItr != aEnd; ++aItr) {
removeModel(aItr->second);
aItr->second->deleteLater();
}
activeChildren.clear();
emit countChange(0);
}