kconfig: qconf: create QApplication after option checks
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 29 Aug 2020 08:14:17 +0000 (17:14 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 24 Sep 2020 15:37:13 +0000 (00:37 +0900)
commitf9a825a7f65a1c94858667934c4ed59bc548dd1f
tree36862823878d83890f42652ef43569d7486b285d
parenta0fce283386d76f3e77f4f45b7ec6f0084510baa
kconfig: qconf: create QApplication after option checks

'scripts/kconfig/qconf -h' just calls usage() and exits, with
QApplication unused.

There is no need to construct QApplication so early. Do it after
the parse stage.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
scripts/kconfig/qconf.cc