X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fflatproxymodel.h;h=90c60b5b52b4e4c246c9446ec4908eccd09062d1;hp=e0c5f5b5034f798d22134d547d682ccc7743b6c1;hb=a65f42197839da536975b3e2858eedcef420035f;hpb=9d54503555534a2c554f09a33df6afa33d6308ec diff --git a/src/uisupport/flatproxymodel.h b/src/uisupport/flatproxymodel.h index e0c5f5b5..90c60b5b 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-2019 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);