Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
1068:04a95ee91327 | 1069:5d1b0d2f4b15 |
---|---|
22 #include "NativeStoneApplicationContext.h" | 22 #include "NativeStoneApplicationContext.h" |
23 #include "../../Platforms/Generic/OracleWebService.h" | 23 #include "../../Platforms/Generic/OracleWebService.h" |
24 | 24 |
25 namespace OrthancStone | 25 namespace OrthancStone |
26 { | 26 { |
27 Deprecated::IWidget& NativeStoneApplicationContext::GlobalMutexLocker::SetCentralWidget(Deprecated::IWidget* widget) | 27 void NativeStoneApplicationContext::GlobalMutexLocker::SetCentralWidget( |
28 boost::shared_ptr<Deprecated::IWidget> widget) | |
28 { | 29 { |
29 that_.centralViewport_.SetCentralWidget(widget); | 30 that_.centralViewport_.SetCentralWidget(widget); |
30 return *widget; | |
31 } | 31 } |
32 | 32 |
33 | 33 |
34 void NativeStoneApplicationContext::UpdateThread(NativeStoneApplicationContext* that) | 34 void NativeStoneApplicationContext::UpdateThread(NativeStoneApplicationContext* that) |
35 { | 35 { |