summaryrefslogtreecommitdiffstats
path: root/abs/core/qt4/fix-assistant-crash.patch
blob: 67bbbc48b4c226296f26e9e8a8e214d34ade1d4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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);
 }