clang-tidy: Avoid memory leak in MainWin
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 5 Sep 2018 18:58:46 +0000 (20:58 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 6 Sep 2018 06:02:07 +0000 (08:02 +0200)
This one is legitimate: If no network is selected, the freshly
created ChannelListDlg instance is never deleted. Move instantiation
after the network ID check, so the dialog is shown (and self-deletes
on close). Set a parent for good measure, too.


No differences found