Mail preferences: Delete added code to resize the window.

Breaks the build, and shouldn't be needed anyway.
This commit is contained in:
Augustin Cavalier 2016-01-04 13:32:22 -05:00
parent 673b9591b2
commit e8a15cb354

View File

@ -64,10 +64,6 @@ AutoConfigWindow::AutoConfigWindow(BRect rect, ConfigWindow *parent)
.Add(fBackButton) .Add(fBackButton)
.Add(fNextButton); .Add(fNextButton);
// determine the proper height
float newHeight = fMainView->Frame().bottom + buttonHeight + kSpacing * 2;
ResizeBy(0, newHeight - Bounds().Height());
// Add a shortcut to close the window using Command-W // Add a shortcut to close the window using Command-W
AddShortcut('W', B_COMMAND_KEY, new BMessage(B_QUIT_REQUESTED)); AddShortcut('W', B_COMMAND_KEY, new BMessage(B_QUIT_REQUESTED));
} }