net_server: remove about box.

Fixes #16823.
This commit is contained in:
Adrien Destugues 2021-08-07 12:43:51 +02:00
parent a748b72e3c
commit 6a41334ced

View File

@ -66,7 +66,6 @@ public:
NetServer(status_t& status);
virtual ~NetServer();
virtual void AboutRequested();
virtual void ReadyToRun();
virtual void MessageReceived(BMessage* message);
@ -154,26 +153,6 @@ NetServer::~NetServer()
}
void
NetServer::AboutRequested()
{
BAlert *alert = new BAlert("about", "Networking Server\n"
"\tCopyright " B_UTF8_COPYRIGHT "2006, Haiku.\n", "OK");
BTextView *view = alert->TextView();
BFont font;
view->SetStylable(true);
view->GetFont(&font);
font.SetSize(18);
font.SetFace(B_BOLD_FACE);
view->SetFontAndColor(0, 17, &font);
alert->SetFlags(alert->Flags() | B_CLOSE_ON_ESCAPE);
alert->Go(NULL);
}
void
NetServer::ReadyToRun()
{