fixes segfault on Assistant's startup
authorThan Ngo <than@redhat.com>
Sun, 20 Sep 2020 19:01:50 +0000 (20:01 +0100)
committerAdrian Bunk <bunk@debian.org>
Sun, 20 Sep 2020 19:01:50 +0000 (20:01 +0100)
commit159c97b662042c80e7f4b16c9ef494adbbc40ee6
tree4c9bb96fda3f6a2977832403e217bec8b3cf3a92
parent624b4b3b36b6203fd33956636b94cf0d20d2e41d
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