Don't need to check if Lock() succeeded here, I don't anywhere else.
This commit is contained in:
@@ -130,10 +130,9 @@ TBarApp::TBarApp()
|
|||||||
|
|
||||||
// Call UpdatePlacement() after the window is shown because expanded
|
// Call UpdatePlacement() after the window is shown because expanded
|
||||||
// apps need to resize the window.
|
// apps need to resize the window.
|
||||||
if (fBarWindow->Lock()) {
|
fBarWindow->Lock();
|
||||||
fBarView->UpdatePlacement();
|
fBarView->UpdatePlacement();
|
||||||
fBarWindow->Unlock();
|
fBarWindow->Unlock();
|
||||||
}
|
|
||||||
|
|
||||||
// this messenger now targets the barview instead of the
|
// this messenger now targets the barview instead of the
|
||||||
// statusview so that all additions to the tray
|
// statusview so that all additions to the tray
|
||||||
|
|||||||
Reference in New Issue
Block a user