X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fflatproxymodel.h;h=db37d0477b8f9f0005a60662569c8e94eff34cea;hb=5e4bfcea8cf62cded326d385acd47528c1974b09;hp=e0c5f5b5034f798d22134d547d682ccc7743b6c1;hpb=9d54503555534a2c554f09a33df6afa33d6308ec;p=quassel.git diff --git a/src/uisupport/flatproxymodel.h b/src/uisupport/flatproxymodel.h index e0c5f5b5..db37d047 100644 --- a/src/uisupport/flatproxymodel.h +++ b/src/uisupport/flatproxymodel.h @@ -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 * @@ -60,7 +60,7 @@ private slots: void on_layoutAboutToBeChanged(); void on_layoutChanged(); - inline void on_modelAboutToBeReset() { reset(); } + inline void on_modelAboutToBeReset() { beginResetModel(); endResetModel(); } // void on_modelReset(); void on_rowsAboutToBeInserted(const QModelIndex &parent, int start, int end);