summaryrefslogtreecommitdiff
path: root/testing/qt/fix-crash-in-assistant.patch
blob: 4246e053294fb7ec7895666646bf390954da44bd (plain)
1
2
3
4
5
6
7
8
9
10
11
--- qt-everywhere-opensource-src-4.8.2/tools/assistant/tools/assistant/mainwindow.cpp	2012-06-26 17:37:47.334536023 +0000
+++ qt-everywhere-opensource-src-4.8.2/tools/assistant/tools/assistant/mainwindow.cpp~	2012-06-26 17:37:08.531487286 +0000
@@ -944,8 +944,7 @@
     if (helpEngine.usesAppFont())
         font = helpEngine.appFont();

-    const QWidgetList &widgets = qApp->allWidgets();
-    foreach (QWidget* widget, widgets)
+    foreach (QWidget* widget, QApplication::allWidgets())
         widget->setFont(font);
 }