Actions
Bug #6101
closedWContainerWidget::insertWidget leads to infinite recursion
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/03/2017
Due date:
% Done:
0%
Estimated time:
Description
InsertWidget leads to infinite recursion:
template
Widget *insertWidget(std::unique_ptr widget, WWidget *before)
{
Widget *result = widget.get();
insertWidget(std::unique_ptr(std::move(widget)), before);
return result;
}
insertBefore should be called in the method
Updated by Roel Standaert over 6 years ago
- Status changed from New to Resolved
Not only that, it should actually be called insertBefore
.
Updated by Roel Standaert over 6 years ago
- Status changed from Resolved to Closed
Actions