Commit 6742051c authored by Nathaniel Graham's avatar Nathaniel Graham

Fix drag-and-drop to Chromium

Summary: BUG: 369404

Test Plan:
Tested in KDE Neon:
- Drag-and-drop to Chromium window works now
- Drag-and-drop to Firefox window still works
- Drag-and-drop to the Desktop still works
- Drag-and-drop to Dolphin window still works
- Drag-and-drop to GIMP window still works
- Drag-and-drop to Gwenview window still works

Reviewers: #spectacle, sebas, rkflx

Reviewed By: rkflx

Subscribers: rkflx

Differential Revision:
parent 2b1c8bec
......@@ -279,7 +279,6 @@ void SpectacleCore::doStartDragAndDrop()
QMimeData *mimeData = new QMimeData;
mimeData->setUrls(QList<QUrl> { tempFile });
mimeData->setData(QStringLiteral("application/x-kde-suggestedfilename"), QFile::encodeName(tempFile.fileName()));
QDrag *dragHandler = new QDrag(this);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment