Project

General

Profile

Actions

Bug #6101

closed
MR

WContainerWidget::insertWidget leads to infinite recursion

Bug #6101: WContainerWidget::insertWidget leads to infinite recursion

Added by Markus Raabe almost 9 years ago. Updated almost 9 years ago.

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

RS Updated by Roel Standaert almost 9 years ago Actions #1

  • Status changed from New to Resolved

Not only that, it should actually be called insertBefore.

RS Updated by Roel Standaert almost 9 years ago Actions #2

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom