clang-tidy: Avoid another warning about potential memory leak
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 5 Sep 2018 18:53:24 +0000 (20:53 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 6 Sep 2018 06:02:07 +0000 (08:02 +0200)
commitb40672ab5c48b577b31371c159e60d330fdd7ce5
treefad0eafd56ebaefb793f87972dddb3fe09028b03
parentf18d6c40cd704e26734a77b371ae2c4a284bee38
clang-tidy: Avoid another warning about potential memory leak

This is a false positive (since the newly created QFormLayout takes
a widget as its parent), however some slight rearrangement of
code shuts up clang-tidy without resorting to NOLINT.
src/qtui/coreconfigwizard.cpp