Mercurial > hg > orthanc-stone
diff Framework/Widgets/LayoutWidget.cpp @ 273:f21ba2468570 am-2
force all Widgets to have a name to ease debugging
author | am@osimis.io |
---|---|
date | Fri, 24 Aug 2018 11:26:59 +0200 |
parents | 7d3b2c4f9ba1 |
children | 8a86695fcbc3 |
line wrap: on
line diff
--- a/Framework/Widgets/LayoutWidget.cpp Fri Aug 24 09:11:06 2018 +0200 +++ b/Framework/Widgets/LayoutWidget.cpp Fri Aug 24 11:26:59 2018 +0200 @@ -265,7 +265,8 @@ } - LayoutWidget::LayoutWidget() : + LayoutWidget::LayoutWidget(const std::string& name) : + WidgetBase(name), isHorizontal_(true), width_(0), height_(0),