diff options
| author | Liang Qi <[email protected]> | 2023-11-15 14:43:46 +0100 |
|---|---|---|
| committer | Liang Qi <[email protected]> | 2023-11-16 14:34:16 +0100 |
| commit | 5896314ff3e46849b6ff7e1069f2273cc6508cf7 (patch) | |
| tree | a9b941f2a843bc607880511c55f0af309ae36336 /src/plugins/platforms/xcb/qxcbdrag.cpp | |
| parent | a0260c6a36b414822908d8a302712d8554e63a61 (diff) | |
xcb: make QXcbWindow inherit QObject
Pick-to: 6.6 6.5
Change-Id: I418305f1e66bdf90b8bda724976916e320012961
Reviewed-by: Tor Arne Vestbø <[email protected]>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbdrag.cpp')
| -rw-r--r-- | src/plugins/platforms/xcb/qxcbdrag.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbdrag.cpp b/src/plugins/platforms/xcb/qxcbdrag.cpp index a89239e2c84..6e5dd770b9b 100644 --- a/src/plugins/platforms/xcb/qxcbdrag.cpp +++ b/src/plugins/platforms/xcb/qxcbdrag.cpp @@ -1234,7 +1234,7 @@ void QXcbDrag::handleSelectionRequest(const xcb_selection_request_event_t *event bool QXcbDrag::dndEnable(QXcbWindow *w, bool on) { - qCDebug(lcQpaXDnd) << "dndEnable" << w << on; + qCDebug(lcQpaXDnd) << "dndEnable" << static_cast<QPlatformWindow *>(w) << on; // Windows announce that they support the XDND protocol by creating a window property XdndAware. if (on) { QXcbWindow *window = nullptr; |
