Make more use of single pattern
This commit is contained in:
@@ -52,12 +52,11 @@ Split::Split(ChannelManager &_channelManager, SplitContainer *parent)
|
||||
, channelName("/chatWidgets/" + std::to_string(index++) + "/channelName")
|
||||
, parentPage(*parent)
|
||||
, channelManager(_channelManager)
|
||||
, completionManager(parent->completionManager)
|
||||
, channel(_channelManager.emptyChannel)
|
||||
, vbox(this)
|
||||
, header(this)
|
||||
, view(_channelManager.getWindowManager(), this)
|
||||
, input(this, _channelManager.getEmoteManager(), _channelManager.getWindowManager())
|
||||
, view(this)
|
||||
, input(this)
|
||||
, flexSizeX(1)
|
||||
, flexSizeY(1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user