From 973cd5be8a980a6cb57dc719b05e4b99f8e6d3e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Wed, 30 Mar 2011 15:59:34 +0200 Subject: Compile fix. --- src/plugins/platforms/xcb/qxcbwindowsurface.cpp | 4 ++-- 1 file 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 ®ion, const QPoi extern QWidgetData* qt_widget_data(QWidget *); QPoint widgetOffset = qt_qwidget_data(widget)->wrect.topLeft(); - QMutexLocker(&m_surfaceLock); + QMutexLocker locker(&m_surfaceLock); QVector 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(QPlatformScreen::platformScreenForWidget(window())); - QMutexLocker(&m_surfaceLock); + QMutexLocker locker(&m_surfaceLock); delete m_image; m_image = new QXcbShmImage(screen, size); -- cgit v0.12