From 91b53fc0c124d9011e700d35a33e6c2e63a09ef8 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Wed, 19 Aug 2015 22:17:09 -0700 Subject: [PATCH] Qt: Fix drag and drop on Windows --- CHANGES | 1 + src/platform/qt/Window.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 5371cb06a..7f994466b 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,7 @@ Bugfixes: - Qt: Windows no longer spawn in the top left on first launch - Qt: Fix install path of XDG desktop file with DESTDIR + - Qt: Fix drag and drop on Windows Misc: - Qt: Window size command line options are now supported - Qt: Increase usability of key mapper diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index 721cec6a8..f7e45de32 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -507,7 +507,7 @@ void Window::dropEvent(QDropEvent* event) { return; } event->accept(); - m_controller->loadGame(url.path()); + m_controller->loadGame(url.toLocalFile()); } void Window::mouseDoubleClickEvent(QMouseEvent* event) {