aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/main.cpp
diff options
context:
space:
mode:
authorRaphaƫl Zumer <rzumer@tebako.net>2020-11-15 15:15:09 +0000
committerGitHub <noreply@github.com>2020-11-15 16:15:09 +0100
commit550241dbad5527fbf0e622193f8a0ef943c35557 (patch)
treedc2b76dbb80cc140f64747d5229406e3f87ef022 /src/frontend/qt_sdl/main.cpp
parent05b94eff66e3ae0192dad2a638d18491b15654b0 (diff)
Fix GBA file drag-and-drop when the system is off (#817)
Diffstat (limited to 'src/frontend/qt_sdl/main.cpp')
-rw-r--r--src/frontend/qt_sdl/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp
index cfdf03d..6fcd8ce 100644
--- a/src/frontend/qt_sdl/main.cpp
+++ b/src/frontend/qt_sdl/main.cpp
@@ -1346,7 +1346,7 @@ void MainWindow::dragEnterEvent(QDragEnterEvent* event)
QString filename = urls.at(0).toLocalFile();
QString ext = filename.right(3);
- if (ext == "nds" || ext == "srl" || ext == "dsi" || (ext == "gba" && RunningSomething))
+ if (ext == "nds" || ext == "srl" || ext == "dsi" || ext == "gba")
event->acceptProposedAction();
}