summaryrefslogtreecommitdiffstats
path: root/source/l/qt/qt.assistant.memcpy-crash.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/qt/qt.assistant.memcpy-crash.diff')
-rw-r--r--source/l/qt/qt.assistant.memcpy-crash.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/l/qt/qt.assistant.memcpy-crash.diff b/source/l/qt/qt.assistant.memcpy-crash.diff
new file mode 100644
index 000000000..f2193ee8b
--- /dev/null
+++ b/source/l/qt/qt.assistant.memcpy-crash.diff
@@ -0,0 +1,11 @@
+--- tools/assistant/tools/assistant/mainwindow.cpp 2012-06-27 03:02:37.539564947 +0200
++++ tools/assistant/tools/assistant/mainwindow.cpp 2012-06-27 03:03:18.843561620 +0200
+@@ -944,8 +944,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);
+ }