Tracker: Don't need to cast to BWindow here

This commit is contained in:
John Scipione 2014-07-28 11:01:31 -04:00
parent d48f1c2e3c
commit e47063d2de
1 changed files with 1 additions and 1 deletions

View File

@ -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();