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/gui/kernel/qsimpledrag.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/gui/kernel/qsimpledrag.cpp') diff --git a/src/gui/kernel/qsimpledrag.cpp b/src/gui/kernel/qsimpledrag.cpp index fc62273325..481971f21a 100644 --- a/src/gui/kernel/qsimpledrag.cpp +++ b/src/gui/kernel/qsimpledrag.cpp @@ -353,13 +353,6 @@ QSimpleDrag::QSimpleDrag() : m_current_window(0) { } -QMimeData *QSimpleDrag::platformDropData() -{ - if (drag()) - return drag()->mimeData(); - return 0; -} - void QSimpleDrag::startDrag() { QBasicDrag::startDrag(); -- cgit v1.2.3