390b42c
From bb8255da422470c5012b6b1c4c24eb2afb6804dc Mon Sep 17 00:00:00 2001
390b42c
From: Thiago Macieira <thiago.macieira@nokia.com>
390b42c
Date: Fri, 26 Jun 2009 11:41:45 +0200
390b42c
Subject: [PATCH 09/13] Restore a section of the file that got removed due to conflict resolution.
390b42c
390b42c
Thanks to Kevin Kofler for pointing this out
390b42c
---
390b42c
 src/gui/kernel/qapplication_x11.cpp |    6 +++---
390b42c
 1 files changed, 3 insertions(+), 3 deletions(-)
390b42c
390b42c
diff --git a/src/gui/kernel/qapplication_x11.cpp b/src/gui/kernel/qapplication_x11.cpp
390b42c
index 33aec9e..53f020b 100644
390b42c
--- a/src/gui/kernel/qapplication_x11.cpp
390b42c
+++ b/src/gui/kernel/qapplication_x11.cpp
390b42c
@@ -1955,9 +1955,9 @@ void qt_init(QApplicationPrivate *priv, int,
390b42c
             bool local = displayName.isEmpty() || displayName.lastIndexOf(QLatin1Char(':')) == 0;
390b42c
             if (local && (qgetenv("QT_X11_NO_MITSHM").toInt() == 0)) {
390b42c
                 Visual *defaultVisual = DefaultVisual(X11->display, DefaultScreen(X11->display));
390b42c
-                X11->use_mitshm = mitshm_pixmaps && (defaultVisual->red_mask == 0xff0000
390b42c
-                                                     && defaultVisual->green_mask == 0xff00
390b42c
-                                                     && defaultVisual->blue_mask == 0xff);
390b42c
+                X11->use_mitshm = defaultVisual->red_mask == 0xff0000
390b42c
+                                  && defaultVisual->green_mask == 0xff00
390b42c
+                                  && defaultVisual->blue_mask == 0xff;
390b42c
             }
390b42c
         }
390b42c
 #endif // QT_NO_MITSHM
390b42c
-- 
390b42c
1.6.5.1
390b42c