15 lines
660 B
Diff
15 lines
660 B
Diff
|
Index: qt-everywhere-opensource-src-4.8.3/tools/assistant/tools/assistant/mainwindow.cpp
|
||
|
===================================================================
|
||
|
--- qt-everywhere-opensource-src-4.8.3.orig/tools/assistant/tools/assistant/mainwindow.cpp
|
||
|
+++ qt-everywhere-opensource-src-4.8.3/tools/assistant/tools/assistant/mainwindow.cpp
|
||
|
@@ -945,8 +945,7 @@ void MainWindow::updateApplicationFont()
|
||
|
if (helpEngine.usesAppFont())
|
||
|
font = helpEngine.appFont();
|
||
|
|
||
|
- const QWidgetList &widgets = qApp->allWidgets();
|
||
|
- foreach (QWidget* widget, widgets)
|
||
|
+ foreach (QWidget* widget, QApplication::allWidgets())
|
||
|
widget->setFont(font);
|
||
|
}
|
||
|
|