Mercurial > hg > orthanc-stone
diff Applications/Generic/NativeStoneApplicationContext.cpp @ 1069:5d1b0d2f4b15 broker
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Oct 2019 21:11:09 +0200 |
parents | e146743f6cdc |
children | 0ca50d275b9a |
line wrap: on
line diff
--- a/Applications/Generic/NativeStoneApplicationContext.cpp Tue Oct 15 19:36:57 2019 +0200 +++ b/Applications/Generic/NativeStoneApplicationContext.cpp Tue Oct 15 21:11:09 2019 +0200 @@ -24,10 +24,10 @@ namespace OrthancStone { - Deprecated::IWidget& NativeStoneApplicationContext::GlobalMutexLocker::SetCentralWidget(Deprecated::IWidget* widget) + void NativeStoneApplicationContext::GlobalMutexLocker::SetCentralWidget( + boost::shared_ptr<Deprecated::IWidget> widget) { that_.centralViewport_.SetCentralWidget(widget); - return *widget; }