From e8037aed5031adf46a93b8510960097dc057ea64 Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Thu, 24 Aug 2017 10:36:07 +1100 Subject: [PATCH] GUI2/Chatbox: clarified a comment [ci skip] --- src/gui/widgets/chatbox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/widgets/chatbox.cpp b/src/gui/widgets/chatbox.cpp index f1be2575aca2..70f14cd7e579 100644 --- a/src/gui/widgets/chatbox.cpp +++ b/src/gui/widgets/chatbox.cpp @@ -101,6 +101,7 @@ void chatbox::finalize_setup() roomlistbox_ = find_widget(this, "room_list", false, true); // We need to bind a lambda here since switch_to_window is overloaded. +// A lambda alone would be more verbose because it'd need to specify all the parameters. connect_signal_notify_modified(*roomlistbox_, std::bind([this]() { switch_to_window(roomlistbox_->get_selected_row()); }));