summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-03-30 13:59:34 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-03-30 13:59:34 (GMT)
commit973cd5be8a980a6cb57dc719b05e4b99f8e6d3e2 (patch)
treefcc041348689851069327cba561e466a675294fd /src/plugins
parenta3524950a04329b7f37f0d1107902a59f86b2c3b (diff)
downloadQt-973cd5be8a980a6cb57dc719b05e4b99f8e6d3e2.zip
Qt-973cd5be8a980a6cb57dc719b05e4b99f8e6d3e2.tar.gz
Qt-973cd5be8a980a6cb57dc719b05e4b99f8e6d3e2.tar.bz2
Compile fix.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/platforms/xcb/qxcbwindowsurface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindowsurface.cpp b/src/plugins/platforms/xcb/qxcbwindowsurface.cpp
index c90ebb5..50be2c7 100644
--- a/src/plugins/platforms/xcb/qxcbwindowsurface.cpp
+++ b/src/plugins/platforms/xcb/qxcbwindowsurface.cpp
@@ -192,7 +192,7 @@ void QXcbWindowSurface::flush(QWidget *widget, const QRegion &region, const QPoi
extern QWidgetData* qt_widget_data(QWidget *);
QPoint widgetOffset = qt_qwidget_data(widget)->wrect.topLeft();
- QMutexLocker(&m_surfaceLock);
+ QMutexLocker locker(&m_surfaceLock);
QVector<QRect> rects = region.rects();
for (int i = 0; i < rects.size(); ++i)
@@ -205,7 +205,7 @@ void QXcbWindowSurface::resize(const QSize &size)
QXcbScreen *screen = static_cast<QXcbScreen *>(QPlatformScreen::platformScreenForWidget(window()));
- QMutexLocker(&m_surfaceLock);
+ QMutexLocker locker(&m_surfaceLock);
delete m_image;
m_image = new QXcbShmImage(screen, size);