another fixme :/
svn path=/trunk/KDE/kdebase/runtime/; revision=1194426
This commit is contained in:
parent
29f4ac0d99
commit
681000ff05
@ -239,6 +239,7 @@ void DataModel::setItems(const QString &sourceName, const QVariantList &list)
|
||||
void DataModel::removeSource(const QString &sourceName)
|
||||
{
|
||||
//FIXME: this could be way more efficient by not resetting the whole model
|
||||
//FIXME: find a way to remove only the proper things also in the case where sources are items
|
||||
emit modelAboutToBeReset();
|
||||
m_items.remove(sourceName);
|
||||
emit modelReset();
|
||||
|
Loading…
x
Reference in New Issue
Block a user