aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2019-09-19 14:17:26 +0200
committerTopi Reinio <topi.reinio@qt.io>2019-09-20 09:41:56 +0200
commit15b0086268a33e6469e300da9817f723ade0a588 (patch)
tree0c0e0e226c3ae7da38b0af712e020c58d040c8e5 /src
parentfb6d18a116dea6f8f1db61053454ce77c17f0e97 (diff)
Doc: Define doc-specific typedef for Windows type 'IDataObject'
Without this, the Clang-parser seems to convert the type to 'int' on non-Windows platforms. Fixes: QTBUG-78551 Change-Id: I3d727fed8be46ef1a25c4fdf2b10fa3429d784ff Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/winextras/qwinmime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/winextras/qwinmime.h b/src/winextras/qwinmime.h
index f9c450f..df21529 100644
--- a/src/winextras/qwinmime.h
+++ b/src/winextras/qwinmime.h
@@ -57,6 +57,7 @@ typedef struct _STGMEDIUM {} STGMEDIUM;
typedef void *HBITMAP;
typedef void *HICON;
typedef void *HRGN;
+typedef void *IDataObject;
#endif
class Q_WINEXTRAS_EXPORT QWinMime // Keep in sync with QWindowsMime in the Windows platform plugin.