summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>2012-06-19 17:58:29 -0700
committerQt by Nokia <qt-info@nokia.com>2012-06-20 15:45:07 +0200
commit00a4dd2a6f270653e16049c6b221a16960cad82a (patch)
tree848534f44040fbef15b1205b2b44013be5f4e433 /src/widgets
parented29e29a3c2148bbe8b5a0fd915f012b2dad604f (diff)
Remove dead code
Change-Id: I48c1e3b2ebcf4ec2fb21ed2d1a88e1dae64e937d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/styles/qstylesheetstyle.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/widgets/styles/qstylesheetstyle.cpp b/src/widgets/styles/qstylesheetstyle.cpp
index 8341ae72a9..a82d2a57b8 100644
--- a/src/widgets/styles/qstylesheetstyle.cpp
+++ b/src/widgets/styles/qstylesheetstyle.cpp
@@ -5827,10 +5827,6 @@ void QStyleSheetStyle::updateStyleSheetFont(QWidget* w) const
return;
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);
QApplication::sendEvent(w, &e);