summaryrefslogtreecommitdiff
path: root/qt4/fix_assistant_segfault_QTBUG-25324.patch
blob: 75bbdb7cf2fd36698d5ad226663aafe476dfce86 (plain)
    1 Index: qt-everywhere-opensource-src-4.8.3/tools/assistant/tools/assistant/mainwindow.cpp
    2 ===================================================================
    3 --- qt-everywhere-opensource-src-4.8.3.orig/tools/assistant/tools/assistant/mainwindow.cpp
    4 +++ qt-everywhere-opensource-src-4.8.3/tools/assistant/tools/assistant/mainwindow.cpp
    5 @@ -945,8 +945,7 @@ void MainWindow::updateApplicationFont()
    6      if (helpEngine.usesAppFont())
    7          font = helpEngine.appFont();
    8  
    9 -    const QWidgetList &widgets = qApp->allWidgets();
   10 -    foreach (QWidget* widget, widgets)
   11 +    foreach (QWidget* widget, QApplication::allWidgets())
   12          widget->setFont(font);
   13  }
   14  

Generated by cgit