Mercurial > hg > orthanc-stone
diff Framework/Widgets/LayerWidget.h @ 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 | 46c5296d867e |
children | 3897f9f28cfa |
line wrap: on
line diff
--- a/Framework/Widgets/LayerWidget.h Fri Aug 24 09:11:06 2018 +0200 +++ b/Framework/Widgets/LayerWidget.h Fri Aug 24 11:26:59 2018 +0200 @@ -48,7 +48,6 @@ std::auto_ptr<Scene> currentScene_; std::auto_ptr<Scene> pendingScene_; std::vector<bool> changedLayers_; - std::string name_; bool LookupLayer(size_t& index /* out */, const ILayerSource& layer) const; @@ -95,8 +94,6 @@ public: virtual ~LayerWidget(); - const std::string& GetName() const {return name_;} - size_t AddLayer(ILayerSource* layer); // Takes ownership void ReplaceLayer(size_t layerIndex, ILayerSource* layer); // Takes ownership