Mercurial > hg > orthanc-stone
diff Framework/Widgets/LayerWidget.cpp @ 86:02c3a7a4938f wasm
removing of the Start() mechanism
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 26 May 2017 13:42:50 +0200 |
parents | bd48431ac285 |
children | 4a541cd4fa83 |
line wrap: on
line diff
--- a/Framework/Widgets/LayerWidget.cpp Fri May 26 12:20:26 2017 +0200 +++ b/Framework/Widgets/LayerWidget.cpp Fri May 26 13:42:50 2017 +0200 @@ -451,7 +451,7 @@ if (LookupLayer(index, source) && slice.IsSamePlane(slice_, THIN_SLICE_THICKNESS)) // Whether the slice comes from an older request { - LOG(ERROR) << "Error on layer " << index; + LOG(INFO) << "Unable to load a slice from layer " << index; double x1, y1, x2, y2; if (GetAndFixExtent(x1, y1, x2, y2, source)) @@ -460,19 +460,4 @@ } } } - - - void LayerWidget::Start() - { - if (started_) - { - throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); - } - - for (size_t i = 0; i < layers_.size(); i++) - { - assert(layers_[i] != NULL); - layers_[i]->Start(); - } - } }