(svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it

This commit is contained in:
glx 2008-05-14 19:08:09 +00:00
parent 7890344bbd
commit 22960e82aa

View File

@ -997,10 +997,9 @@ enum QueryStringWidgets {
struct QueryStringWindow : public QueryStringBaseWindow
{
Window *parent;
QueryStringWindow(const WindowDesc *desc, Window *parent) : QueryStringBaseWindow(desc), parent(parent)
QueryStringWindow(const WindowDesc *desc, Window *parent) : QueryStringBaseWindow(desc)
{
this->parent = parent;
SetBit(_no_scroll, SCROLL_EDIT);
this->FindWindowPlacementAndResize(desc);