X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fignorelistmodel.cpp;h=fb1b4fc29b1ee845821c9a5c650d28ec99dd5031;hb=c013d415d0e6e85cbb8c0adba9ded53bbcf4f36c;hp=5dec6cc6ab1a25b6ef8ac8e32df2bf10eb3ccf36;hpb=9d54503555534a2c554f09a33df6afa33d6308ec;p=quassel.git diff --git a/src/qtui/settingspages/ignorelistmodel.cpp b/src/qtui/settingspages/ignorelistmodel.cpp index 5dec6cc6..fb1b4fc2 100644 --- a/src/qtui/settingspages/ignorelistmodel.cpp +++ b/src/qtui/settingspages/ignorelistmodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2018 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); }