X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fflatproxymodel.h;h=db37d0477b8f9f0005a60662569c8e94eff34cea;hb=4e452ee828fdb411e6b1db07c18e02681a30ff27;hp=aa358072be36a92ebda41b209c49903744ec2adb;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222;p=quassel.git diff --git a/src/uisupport/flatproxymodel.h b/src/uisupport/flatproxymodel.h index aa358072..db37d047 100644 --- a/src/uisupport/flatproxymodel.h +++ b/src/uisupport/flatproxymodel.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 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);