diff --git a/Applications/IRCClient/IRCChannel.cpp b/Applications/IRCClient/IRCChannel.cpp index 4bbec9cb11..fd38935720 100644 --- a/Applications/IRCClient/IRCChannel.cpp +++ b/Applications/IRCClient/IRCChannel.cpp @@ -77,14 +77,6 @@ void IRCChannel::add_message(const String& text, Color color) window().did_add_message(); } -void IRCChannel::dump() const -{ - printf("IRCChannel{%p}: %s\n", this, m_name.characters()); - for (auto& member : m_members) - printf(" (%c)%s\n", member.prefix ? member.prefix : ' ', member.name.characters()); - log().dump(); -} - void IRCChannel::say(const String& text) { m_client.send_privmsg(m_name, text); diff --git a/Applications/IRCClient/IRCChannel.h b/Applications/IRCClient/IRCChannel.h index d48e5afc5d..1d0eb8657b 100644 --- a/Applications/IRCClient/IRCChannel.h +++ b/Applications/IRCClient/IRCChannel.h @@ -52,8 +52,6 @@ public: void add_message(char prefix, const String& name, const String& text, Color = Color::Black); void add_message(const String& text, Color = Color::Black); - void dump() const; - void say(const String&); const IRCLogBuffer& log() const { return *m_log; } diff --git a/Applications/IRCClient/IRCLogBuffer.cpp b/Applications/IRCClient/IRCLogBuffer.cpp index 18297dc155..458da22f32 100644 --- a/Applications/IRCClient/IRCLogBuffer.cpp +++ b/Applications/IRCClient/IRCLogBuffer.cpp @@ -29,8 +29,8 @@ #include #include #include -#include #include +#include #include NonnullRefPtr IRCLogBuffer::create() @@ -96,8 +96,3 @@ void IRCLogBuffer::add_message(const String& text, Color color) m_container_element->append_child(wrapper); m_document->force_layout(); } - -void IRCLogBuffer::dump() const -{ - // FIXME: Remove me? -} diff --git a/Applications/IRCClient/IRCLogBuffer.h b/Applications/IRCClient/IRCLogBuffer.h index 0f62757c3f..db4636f0ee 100644 --- a/Applications/IRCClient/IRCLogBuffer.h +++ b/Applications/IRCClient/IRCLogBuffer.h @@ -47,7 +47,6 @@ public: void add_message(char prefix, const String& name, const String& text, Color = Color::Black); void add_message(const String& text, Color = Color::Black); - void dump() const; const Web::DOM::Document& document() const { return *m_document; } Web::DOM::Document& document() { return *m_document; } diff --git a/Applications/IRCClient/IRCQuery.cpp b/Applications/IRCClient/IRCQuery.cpp index 097387f183..e2795f05d8 100644 --- a/Applications/IRCClient/IRCQuery.cpp +++ b/Applications/IRCClient/IRCQuery.cpp @@ -46,12 +46,6 @@ NonnullRefPtr IRCQuery::create(IRCClient& client, const String& name) return adopt(*new IRCQuery(client, name)); } -void IRCQuery::dump() const -{ - printf("IRCQuery{%p}: %s\n", this, m_name.characters()); - log().dump(); -} - void IRCQuery::add_message(char prefix, const String& name, const String& text, Color color) { log().add_message(prefix, name, text, color); diff --git a/Applications/IRCClient/IRCQuery.h b/Applications/IRCClient/IRCQuery.h index 058c5a3f88..379d9d6492 100644 --- a/Applications/IRCClient/IRCQuery.h +++ b/Applications/IRCClient/IRCQuery.h @@ -45,8 +45,6 @@ public: void add_message(char prefix, const String& name, const String& text, Color = Color::Black); void add_message(const String& text, Color = Color::Black); - void dump() const; - const IRCLogBuffer& log() const { return *m_log; } IRCLogBuffer& log() { return *m_log; }