From 9d21df8e1bca9ccfa1bcfcde3bc8f35473866166 Mon Sep 17 00:00:00 2001 From: Dylam De La Torre Date: Tue, 16 Nov 2021 20:38:14 +0100 Subject: Fix warnings shown by GCC (#47) * fix all warnings shown by GCC --- windows/threadswindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'windows/threadswindow.cpp') diff --git a/windows/threadswindow.cpp b/windows/threadswindow.cpp index 1bfb326..b4cbac7 100644 --- a/windows/threadswindow.cpp +++ b/windows/threadswindow.cpp @@ -3,11 +3,11 @@ ThreadsWindow::ThreadsWindow(const ChannelData &channel) : m_channel_id(channel.ID) + , m_filter_public(m_group, "Public") + , m_filter_private(m_group, "Private") , m_box(Gtk::ORIENTATION_VERTICAL) , m_active(channel, sigc::mem_fun(*this, &ThreadsWindow::ListFilterFunc)) - , m_archived(channel, sigc::mem_fun(*this, &ThreadsWindow::ListFilterFunc)) - , m_filter_public(m_group, "Public") - , m_filter_private(m_group, "Private") { + , m_archived(channel, sigc::mem_fun(*this, &ThreadsWindow::ListFilterFunc)) { set_name("threads-window"); set_default_size(450, 375); set_title("#" + *channel.Name + " - Threads"); -- cgit v1.2.3