From b6e3fd8ced2ae3629b73b78bf436d1a3ac4bccda Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Thu, 16 Feb 2017 16:38:49 +0100 Subject: Remove QPlatformDrag::platformDropData Its only uses were: * Call it to just store it in QDragManager::QDragManager * qnsview.mm calls it but since it knows it's a QCocoaDrag it can just call a function of that class directly * qxcbdrag.cpp calls it but since it basically was calling itself can just use the class member directly Change-Id: Ic7797c877d77f944a1212a7ea01173393bf903fe Reviewed-by: Friedemann Kleint Reviewed-by: Lars Knoll Reviewed-by: Paul Olav Tvete --- src/plugins/platforms/windows/qwindowsdrag.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/plugins/platforms/windows/qwindowsdrag.h') diff --git a/src/plugins/platforms/windows/qwindowsdrag.h b/src/plugins/platforms/windows/qwindowsdrag.h index 069f58cf02..2b4ca2dce1 100644 --- a/src/plugins/platforms/windows/qwindowsdrag.h +++ b/src/plugins/platforms/windows/qwindowsdrag.h @@ -86,8 +86,6 @@ public: QWindowsDrag(); virtual ~QWindowsDrag(); - QMimeData *platformDropData() override { return &m_dropData; } - Qt::DropAction drag(QDrag *drag) override; static QWindowsDrag *instance(); -- cgit v1.2.3