From 6a41334ced6c67613d16ffd162139fb488b14630 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 7 Aug 2021 12:43:51 +0200 Subject: [PATCH] net_server: remove about box. Fixes #16823. --- src/servers/net/NetServer.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/servers/net/NetServer.cpp b/src/servers/net/NetServer.cpp index 167379d3c5..b5e56f3094 100644 --- a/src/servers/net/NetServer.cpp +++ b/src/servers/net/NetServer.cpp @@ -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() {