fixes segfault on Assistant's startup
authorThan Ngo <than@redhat.com>
Mon, 24 Jan 2022 10:55:59 +0000 (10:55 +0000)
committerUtkarsh Gupta <utkarsh@debian.org>
Mon, 24 Jan 2022 10:55:59 +0000 (10:55 +0000)
commitddbc8d152370938bc7d0b91cb9225d591ef92b97
tree0cc31370df36ff6e45bba273632966d22e7df160
parent23094be3e9e4bc80be7c618edb601c3e7d21f260
fixes segfault on Assistant's startup

Origin: https://bugreports.qt-project.org/browse/QTBUG-25324
Bug: https://bugreports.qt-project.org/browse/QTBUG-25324
Bug-Debian: http://bugs.debian.org/679874
Forwarded: not-needed
Last-Update: 2012-06-20

This patch calls the static method QApplication::allWidgets()
intead of storing them first.

Gbp-Pq: Name QTBUG-25324_assistant_segfault_on_start_with_gcc_4.7.patch
tools/assistant/tools/assistant/mainwindow.cpp