diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2018-04-13 10:10:03 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2018-04-17 15:20:44 +0000 |
commit | 7566b23f7d4df9898369a9608b000c0364221177 (patch) | |
tree | e4b4435a3c955c682e7da69014b4b3539d198ab1 /src/core/web_contents_adapter.cpp | |
parent | 780e8c985b384e7a3b4986075fcb88d50d6fe266 (diff) |
Make sure we can build with -no-feature-draganddrop
Change-Id: Ib6763a8a3e1ac1ac98caef39f7e6e75c18344424
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/web_contents_adapter.cpp')
-rw-r--r-- | src/core/web_contents_adapter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/web_contents_adapter.cpp b/src/core/web_contents_adapter.cpp index 900abac44..4ebed8fc9 100644 --- a/src/core/web_contents_adapter.cpp +++ b/src/core/web_contents_adapter.cpp @@ -1375,6 +1375,7 @@ void WebContentsAdapter::setWebChannel(QWebChannel *channel, uint worldId) channel->connectTo(d->webChannelTransport.get()); } +#if QT_CONFIG(draganddrop) static QMimeData *mimeDataFromDropData(const content::DropData &dropData) { QMimeData *mimeData = new QMimeData(); @@ -1635,6 +1636,7 @@ void WebContentsAdapter::leaveDrag() rvh->GetWidget()->DragTargetDragLeave(d->lastDragClientPos, d->lastDragScreenPos); d->currentDropData.reset(); } +#endif // QT_CONFIG(draganddrop) void WebContentsAdapter::replaceMisspelling(const QString &word) { |