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 <laszlo.agocs@qt.io>
This commit is contained in:
Gatis Paeglis 2017-05-29 11:38:35 +02:00
parent 0e3d6214df
commit f28d78df48

View File

@ -469,7 +469,6 @@ public:
bool hasXKB() const { return has_xkb; } bool hasXKB() const { return has_xkb; }
bool hasXRender() const { return has_render_extension; } bool hasXRender() const { return has_render_extension; }
bool supportsThreadedRendering() const { return m_reader->isRunning(); }
bool threadedEventHandling() const { return m_reader->isRunning(); } bool threadedEventHandling() const { return m_reader->isRunning(); }
xcb_timestamp_t getTimestamp(); xcb_timestamp_t getTimestamp();