forked from qt-creator/qt-creator
TreeModel: Remove unused function overload
9124833a63introduced an optional parameter to removeChildren to suppress signal emitting, anda61f9162f1reimplemented that in a ABI compatible way with a new removeChildrenSilently method instead. The code now uses removeChildrenSilently, so the parameter to removeChildren is no longer needed. Change-Id: I8411d80f90e83b8746c2553dddb41c3f40a2bfc7 Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -38,7 +38,7 @@ public:
|
||||
const std::function<bool(const TreeItem *, const TreeItem *)> &cmp);
|
||||
|
||||
void removeChildAt(int pos);
|
||||
void removeChildren(bool emitSignals = true);
|
||||
void removeChildren();
|
||||
void removeChildrenSilently();
|
||||
void sortChildren(const std::function<bool(const TreeItem *, const TreeItem *)> &cmp);
|
||||
void update();
|
||||
|
||||
Reference in New Issue
Block a user