Remove dead code

Change-Id: I48c1e3b2ebcf4ec2fb21ed2d1a88e1dae64e937d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Girish Ramakrishnan 2012-06-19 17:58:29 -07:00 committed by Qt by Nokia
parent ed29e29a3c
commit 00a4dd2a6f

View File

@ -5827,10 +5827,6 @@ void QStyleSheetStyle::updateStyleSheetFont(QWidget* w) const
return; return;
w->data->fnt = font; w->data->fnt = font;
#if defined(Q_WS_X11)
// make sure the font set on this widget is associated with the correct screen
//w->data->fnt.x11SetScreen(w->d_func()->xinfo.screen());
#endif
QEvent e(QEvent::FontChange); QEvent e(QEvent::FontChange);
QApplication::sendEvent(w, &e); QApplication::sendEvent(w, &e);