X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fignorelistmodel.cpp;h=17d122eeef8bd57480a1cca6c53a41f826c292b4;hb=eaa1bd30bc088e5cae6d8a742d7aedb3d8ff1897;hp=876a141e48aa593a0f8e148eb396e6cba46319dc;hpb=9fc57dc2c000e80fb8bd746a090e2e8210e1278e;p=quassel.git diff --git a/src/qtui/settingspages/ignorelistmodel.cpp b/src/qtui/settingspages/ignorelistmodel.cpp index 876a141e..17d122ee 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-2015 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); }