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
if (helpEngine.usesAppFont())
font = helpEngine.appFont();
- const QWidgetList &widgets = qApp->allWidgets();
- foreach (QWidget* widget, widgets)
+ foreach (QWidget* widget, QApplication::allWidgets())
widget->setFont(font);
}