X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=gui%2Fnetworkview.cpp;h=86a8376718f092fba5aa60561f4cc157c032f401;hb=26c07f2ab71ab640cba10bd3ecec0f05dd5a0d64;hp=113f050af87a02f6d47d8de57da274ab0776958d;hpb=70ffd83e6362d79d1a0ef18f52e20c0d76ce44c6;p=quassel.git diff --git a/gui/networkview.cpp b/gui/networkview.cpp index 113f050a..86a83767 100644 --- a/gui/networkview.cpp +++ b/gui/networkview.cpp @@ -67,7 +67,7 @@ void NetworkView::bufferUpdated(Buffer *b) { /* this is actually fugly! :) - EgS if anyone else wonders what this does: it takes the TreeItem related to the buffer out of the parents child list - there for we need to know the childs index + therefore we need to know the childs index */ QTreeWidgetItem *item = bufitems[b]->parent()->takeChild(bufitems[b]->parent()->indexOfChild(bufitems[b])); delete item;