xcb: remove CREATE_VISUALINFO_FROM_DEFAULT_VISUALID macro
It was added bybb10d605883and become unused after5f39a0e. The patch that added this macro used it only in one place, which rarely is a good reason for introducing a macro. Change-Id: If7065956fc79daf9b2d535527beaa42dbe0243a2 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
parent
f28d78df48
commit
dff3c0f14f
|
|
@ -686,7 +686,6 @@ Q_DECLARE_TYPEINFO(QXcbConnection::TabletData, Q_MOVABLE_TYPE);
|
|||
#endif
|
||||
|
||||
#define DISPLAY_FROM_XCB(object) (reinterpret_cast<Display *>(object->connection()->xlib_display()))
|
||||
#define CREATE_VISUALINFO_FROM_DEFAULT_VISUALID(object) ((XVisualInfo *)(object->connection()->createVisualInfoForDefaultVisualId()))
|
||||
|
||||
template<typename T>
|
||||
xcb_generic_event_t *QXcbConnection::checkEvent(T &checker)
|
||||
|
|
|
|||
Loading…
Reference in New Issue