X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fignorelistmodel.cpp;h=a6ce4df1f01bafacfc10a0b9253c31ddf663002f;hb=f3d6f8088d8be6af9319a99fb8d2fee2837b540a;hp=876a141e48aa593a0f8e148eb396e6cba46319dc;hpb=4a5065255e652dd0c301bac0db41b7afb777ef49;p=quassel.git diff --git a/src/qtui/settingspages/ignorelistmodel.cpp b/src/qtui/settingspages/ignorelistmodel.cpp index 876a141e..a6ce4df1 100644 --- a/src/qtui/settingspages/ignorelistmodel.cpp +++ b/src/qtui/settingspages/ignorelistmodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2014 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -262,7 +262,8 @@ void IgnoreListModel::revert() _configChanged = false; emit configChanged(false); - reset(); + beginResetModel(); + endResetModel(); } @@ -279,7 +280,8 @@ void IgnoreListModel::commit() void IgnoreListModel::initDone() { _modelReady = true; - reset(); + beginResetModel(); + endResetModel(); emit modelReady(true); } @@ -299,7 +301,8 @@ void IgnoreListModel::clientDisconnected() // clear _clonedIgnoreListManager = ClientIgnoreListManager(); _modelReady = false; - reset(); + beginResetModel(); + endResetModel(); emit modelReady(false); }