1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:57:35 +00:00

GTableView: Add a way to turn off alternating row colors.

This commit is contained in:
Andreas Kling 2019-03-15 21:41:27 +01:00
parent 491aa112ab
commit b54ab06595
5 changed files with 15 additions and 7 deletions

View file

@ -21,9 +21,7 @@ public:
int count() const { return m_messages.size(); }
const Message& at(int index) const { return m_messages.at(index); }
void add_message(char prefix, const String& name, const String& text);
void dump() const;
const IRCLogBufferModel* model() const { return m_model; }
@ -31,8 +29,6 @@ public:
private:
IRCLogBuffer();
IRCLogBufferModel* m_model { nullptr };
CircularQueue<Message, 1000> m_messages;
};