mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
IRCClient: Put the unhandled server messages nicely into the server log.
This commit is contained in:
parent
850c7504a2
commit
f004db19d0
3 changed files with 15 additions and 10 deletions
|
@ -49,8 +49,6 @@ void IRCAppWindow::setup_widgets()
|
|||
|
||||
m_subwindow_container = new GWidget(widget);
|
||||
m_subwindow_container->set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
m_subwindow_container->set_fill_with_background_color(true);
|
||||
m_subwindow_container->set_background_color(Color::Yellow);
|
||||
m_subwindow_container->set_size_policy(SizePolicy::Fill, SizePolicy::Fill);
|
||||
|
||||
create_subwindow(IRCSubWindow::Server, "Server");
|
||||
|
@ -59,7 +57,5 @@ void IRCAppWindow::setup_widgets()
|
|||
void IRCAppWindow::create_subwindow(IRCSubWindow::Type type, const String& name)
|
||||
{
|
||||
auto* subwindow = new IRCSubWindow(m_client, type, name, m_subwindow_container);
|
||||
subwindow->set_fill_with_background_color(true);
|
||||
subwindow->set_background_color(Color::Magenta);
|
||||
m_subwindows.append(subwindow);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue