From b118d85e119f4fc8bdf315e0cc64d524b9582545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Sun, 25 Jul 2010 02:18:34 +0200 Subject: [PATCH] Remove *ResetModel() in inserts (so selection isnt destroyed, and it works now without it) --- libqtavahi/qtavahimodel.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libqtavahi/qtavahimodel.cpp b/libqtavahi/qtavahimodel.cpp index 7126d41..00d12ec 100644 --- a/libqtavahi/qtavahimodel.cpp +++ b/libqtavahi/qtavahimodel.cpp @@ -135,8 +135,6 @@ namespace Avahi { el->list.push_front(el->newEntry(s, priv)); endInsertRows(); } - beginResetModel(); - endResetModel(); } void BrowseModel::remove(const Avahi::Service &s) {