diff options
author | Zoltan Arvai <zarvai@inf.u-szeged.hu> | 2014-02-20 16:08:22 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-24 11:19:51 +0100 |
commit | c10ddd8930b06c5872499ca49213af9d9e3eb092 (patch) | |
tree | 37836710c59c8153e40825692c0a717ac495dbae /src/core/web_contents_view_qt.cpp | |
parent | 3aad2a0615449dc8e5bd9fb8d68eaf03733d8eb5 (diff) | |
download | qtwebengine-c10ddd8930b06c5872499ca49213af9d9e3eb092.tar.gz |
Fix unused variable suppression on Windows
MSVC fails with undefined type error when an argument passed by
reference but suppressed as normal variable.
Change-Id: I93a89aea4fae5f820c9ab0d1222d63b01ca3ed3c
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/web_contents_view_qt.cpp')
-rw-r--r-- | src/core/web_contents_view_qt.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/web_contents_view_qt.cpp b/src/core/web_contents_view_qt.cpp index 2ab5b483c..83147f8bf 100644 --- a/src/core/web_contents_view_qt.cpp +++ b/src/core/web_contents_view_qt.cpp @@ -133,11 +133,11 @@ void WebContentsViewQt::ShowContextMenu(const content::ContextMenuParams ¶ms void WebContentsViewQt::StartDragging(const content::DropData& drop_data, WebKit::WebDragOperationsMask allowed_ops, const gfx::ImageSkia& image, const gfx::Vector2d& image_offset, const content::DragEventSourceInfo& event_info) { - Q_UNUSED(drop_data); + Q_UNUSED(&drop_data); Q_UNUSED(allowed_ops); - Q_UNUSED(image); - Q_UNUSED(image_offset); - Q_UNUSED(event_info); + Q_UNUSED(&image); + Q_UNUSED(&image_offset); + Q_UNUSED(&event_info); // Tell the renderer to cancel the drag, see StartDragging's declaration in render_view_host_delegate_view.h for info. m_webContents->SystemDragEnded(); } |