Mercurial > hg > orthanc-stone
diff Framework/Viewport/IViewport.h @ 404:ba4ace20454e
use of MessageBroker in DicomStructureSetSlicer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 11 Nov 2018 13:02:38 +0100 |
parents | e33659decec5 |
children | b70e9be013e4 |
line wrap: on
line diff
--- a/Framework/Viewport/IViewport.h Sun Nov 11 12:13:31 2018 +0100 +++ b/Framework/Viewport/IViewport.h Sun Nov 11 13:02:38 2018 +0100 @@ -83,10 +83,10 @@ virtual void DoAnimation() = 0; // Should only be called from IWidget + // TODO Why should this be virtual? virtual void NotifyContentChanged() { - ViewportChangedMessage message(*this); - EmitMessage(message); + EmitMessage(ViewportChangedMessage(*this)); } }; }