diff options
-rw-r--r-- | src/plugins/platforms/xcb/qxcbwindowsurface.cpp | 4 |
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 ®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<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); |