diff Framework/Widgets/TestCairoWidget.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 fccffbf99ba1
children 8a86695fcbc3
line wrap: on
line diff
--- a/Framework/Widgets/TestCairoWidget.cpp	Fri Aug 24 09:11:06 2018 +0200
+++ b/Framework/Widgets/TestCairoWidget.cpp	Fri Aug 24 11:26:59 2018 +0200
@@ -77,7 +77,8 @@
     }
 
 
-    TestCairoWidget::TestCairoWidget(bool animate) :
+    TestCairoWidget::TestCairoWidget(const std::string& name, bool animate) :
+      CairoWidget(name),
       width_(0),
       height_(0),
       value_(1),