Gentoo Archives: gentoo-commits

From: "Davide Pesavento (pesa)" <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/qt-assistant/files: qt-assistant-4.8.2+gcc-4.7.patch
Date: Thu, 28 Jun 2012 17:36:12
Message-Id: 20120628173600.6A0472004C@flycatcher.gentoo.org
1 pesa 12/06/28 17:36:00
2
3 Added: qt-assistant-4.8.2+gcc-4.7.patch
4 Log:
5 Fix assistant crash on start if compiled with gcc-4.7 (bug 423723).
6 Thanks to Bernd Buschinski <b.buschinski@××××××××××.com> for the patch.
7
8 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 x11-libs/qt-assistant/files/qt-assistant-4.8.2+gcc-4.7.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/files/qt-assistant-4.8.2+gcc-4.7.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/files/qt-assistant-4.8.2+gcc-4.7.patch?rev=1.1&content-type=text/plain
15
16 Index: qt-assistant-4.8.2+gcc-4.7.patch
17 ===================================================================
18 --- tools/assistant/tools/assistant/mainwindow.cpp 2012-06-27 03:02:37.539564947 +0200
19 +++ tools/assistant/tools/assistant/mainwindow.cpp 2012-06-27 03:03:18.843561620 +0200
20 @@ -944,8 +944,7 @@ void MainWindow::updateApplicationFont()
21 if (helpEngine.usesAppFont())
22 font = helpEngine.appFont();
23
24 - const QWidgetList &widgets = qApp->allWidgets();
25 - foreach (QWidget* widget, widgets)
26 + foreach (QWidget* widget, QApplication::allWidgets())
27 widget->setFont(font);
28 }