Tracker: Don't need to cast to BWindow here
This commit is contained in:
parent
d48f1c2e3c
commit
e47063d2de
|
@ -131,8 +131,8 @@ BFilePanel::Show()
|
|||
BLooper::LooperForThread(find_thread(NULL)));
|
||||
const BRect frame = parent != NULL ? parent->Frame()
|
||||
: BScreen(fWindow).Frame();
|
||||
fWindow->MoveTo(dynamic_cast<BWindow*>(fWindow)->AlertPosition(frame));
|
||||
|
||||
fWindow->MoveTo(fWindow->AlertPosition(frame));
|
||||
if (!IsShowing())
|
||||
fWindow->Show();
|
||||
|
||||
|
|
Loading…
Reference in New Issue