From 792e013eaf4a572364457b96f6f9c07dafe6fe9a Mon Sep 17 00:00:00 2001 From: "Esteban I. RM" Date: Sun, 15 Oct 2017 21:22:22 -0300 Subject: don't pass g_settings around, and use it directly --- src/chat.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/chat.h') diff --git a/src/chat.h b/src/chat.h index b1b3edcb0..40d9b771d 100644 --- a/src/chat.h +++ b/src/chat.h @@ -119,7 +119,7 @@ public: u32 formatChatLine(const ChatLine& line, u32 cols, std::vector& destination) const; - void resize(u32 scrollback); + void resize(u32 scrollback); protected: s32 getTopScrollPos() const; s32 getBottomScrollPos() const; @@ -283,8 +283,8 @@ public: void scrollPageDown(); void scrollPageUp(); - // Resize recent buffer based on settings - void applySettings(Settings* settings); + // Resize recent buffer based on settings + void applySettings(); private: ChatBuffer m_console_buffer; -- cgit v1.2.3