Skip to content

Commit 1666140

Browse files
author
Michael Zahniser
committed
Fixed handling of drag-and-drop onto the .exe itself, in Windows.
1 parent 1fee935 commit 1666140

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ int main(int argc, char *argv[])
7979
if(!path.isEmpty() && !QFileInfo(path).exists())
8080
path.clear();
8181
}
82+
#if defined _WIN32
83+
path.replace('\\', '/');
84+
#endif
8285

8386
QApplication app(argc, argv);
8487
Map mapData;

0 commit comments

Comments
 (0)