X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fbufferviewfilter.cpp;h=bf18eef1051d22b6c8c2d58957b073b20bdded2d;hb=367fc85fb3433a79a582b4a52a4f8f24d9d13d72;hp=9a531e286d93551deee36fe45b89b80778c0b29a;hpb=cc6e7c08709c4e761e2fd9c2e322751015497003;p=quassel.git diff --git a/src/uisupport/bufferviewfilter.cpp b/src/uisupport/bufferviewfilter.cpp index 9a531e28..bf18eef1 100644 --- a/src/uisupport/bufferviewfilter.cpp +++ b/src/uisupport/bufferviewfilter.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -32,6 +32,7 @@ #include "graphicalui.h" #include "networkmodel.h" #include "uistyle.h" +#include "util.h" /***************************************** * The Filter for the Tree View @@ -141,7 +142,7 @@ void BufferViewFilter::enableEditMode(bool enable) return; if (enable == false) { - addBuffers(QList::fromSet(_toAdd)); + addBuffers(_toAdd.values()); QSet::const_iterator iter; for (iter = _toTempRemove.constBegin(); iter != _toTempRemove.constEnd(); ++iter) { if (config()->temporarilyRemovedBuffers().contains(*iter))