antonanikin added a comment.
> Is this really needed? > Without your code it defaults to > index = -1; > what is the same as appending that is the same as atBottom, no? Yes, it needed - see here about negative index http://code.qt.io/cgit/qt/qtbase.git/tree/src/widgets/itemviews/qlistwidget.cpp#n108 REPOSITORY R236 KWidgetsAddons REVISION DETAIL https://phabricator.kde.org/D5329 To: antonanikin, #frameworks Cc: aacid, kde-frameworks-devel