From f28d78df482463a101d8d2fd07f300a8b387e057 Mon Sep 17 00:00:00 2001 From: Gatis Paeglis Date: Mon, 29 May 2017 11:38:35 +0200 Subject: [PATCH] xcb: remove duplicate QXcbConnection::supportsThreadedRendering() It is unused and it duplicates QXcbConnection::threadedEventHandling(): bool supportsThreadedRendering() const { return m_reader->isRunning(); } bool threadedEventHandling() const { return m_reader->isRunning(); } "threadedEventHandling" is more appropriate name by looking at the body of the function. Change-Id: I99733e9c1ddb3ff75444d61d28eca54dcd6b0418 Reviewed-by: Laszlo Agocs --- src/plugins/platforms/xcb/qxcbconnection.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/platforms/xcb/qxcbconnection.h b/src/plugins/platforms/xcb/qxcbconnection.h index 4c6177835a..d602da8962 100644 --- a/src/plugins/platforms/xcb/qxcbconnection.h +++ b/src/plugins/platforms/xcb/qxcbconnection.h @@ -469,7 +469,6 @@ public: bool hasXKB() const { return has_xkb; } bool hasXRender() const { return has_render_extension; } - bool supportsThreadedRendering() const { return m_reader->isRunning(); } bool threadedEventHandling() const { return m_reader->isRunning(); } xcb_timestamp_t getTimestamp();