Fix warning for -no-feature-draganddrop -no-feature-clipboard
Change-Id: I974ac692f59622fbb5cf7c6bd60954cf306dabe7 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>bb10
parent
8146fd5f8c
commit
08fc4c4e95
|
|
@ -1163,7 +1163,9 @@ void QXcbConnection::handleXcbEvent(xcb_generic_event_t *event)
|
|||
break;
|
||||
case XCB_SELECTION_REQUEST:
|
||||
{
|
||||
#if QT_CONFIG(draganddrop) || QT_CONFIG(clipboard)
|
||||
xcb_selection_request_event_t *sr = reinterpret_cast<xcb_selection_request_event_t *>(event);
|
||||
#endif
|
||||
#ifndef QT_NO_DRAGANDDROP
|
||||
if (sr->selection == atom(QXcbAtom::XdndSelection))
|
||||
m_drag->handleSelectionRequest(sr);
|
||||
|
|
|
|||
Loading…
Reference in New Issue