diff options
author | Alexander Akulich <akulichalexander@gmail.com> | 2018-03-13 21:56:17 +0300 |
---|---|---|
committer | Alexandr Akulich <akulichalexander@gmail.com> | 2018-03-14 19:25:22 +0000 |
commit | 96ba39b1ee095e814587c760dc83add03ee67232 (patch) | |
tree | 4d953c1029c63a0b5c8e989adc5a0fdc8b23252e /tests/auto/testlib/selftests/tst_selftests.cpp | |
parent | 1718efe8fab245ef2a5a3dd11dc038cdcd0957bc (diff) |
QFlatpakTheme: Cleanup the code
There is no codepath that can result in d->baseTheme being nullptr.
Remove the checks and get rid unneeded and sometimes dangerous fallbacks
(createPlatformMenuBar(), showPlatformMenuBar() and three more methods
could overflow the stack because of infinity recursion).
Change-Id: Ib03adadf56c169286de42671e2da506502df7aea
Reviewed-by: Jan Grulich <jgrulich@redhat.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/testlib/selftests/tst_selftests.cpp')
0 files changed, 0 insertions, 0 deletions