fixes segfault on Assistant's startup
authorThan Ngo <than@redhat.com>
Mon, 14 Sep 2020 13:56:35 +0000 (14:56 +0100)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Mon, 14 Sep 2020 13:56:35 +0000 (14:56 +0100)
commitf48fca4aee99fc279ef7409bf0244025bd8fd730
tree2ab9ff92be0cda91e0df7e165bb7d5d3d2b13732
parente9cc25894ce559247c82ea3f6f5414f6ae81e0cf
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