Remove *ResetModel() in inserts (so selection isnt destroyed, and it works now without it)

This commit is contained in:
Stefan Bühler 2010-07-25 02:18:34 +02:00
parent 76f17ee661
commit b118d85e11

View File

@ -135,8 +135,6 @@ namespace Avahi {
el->list.push_front(el->newEntry(s, priv)); el->list.push_front(el->newEntry(s, priv));
endInsertRows(); endInsertRows();
} }
beginResetModel();
endResetModel();
} }
void BrowseModel::remove(const Avahi::Service &s) { void BrowseModel::remove(const Avahi::Service &s) {