# HG changeset patch # User Chris Cannam # Date 1374687017 -3600 # Node ID fba4839f881140b87ec7d412870783af3e697319 # Parent b8801b96426bba76b74a851e915d7db769c3c8f4 Replace path separators on Windows with command-line paths diff -r b8801b96426b -r fba4839f8811 main/main.cpp --- a/main/main.cpp Wed Jul 24 17:12:05 2013 +0100 +++ b/main/main.cpp Wed Jul 24 18:30:17 2013 +0100 @@ -482,6 +482,10 @@ MainWindow::FileOpenStatus status = MainWindow::FileOpenFailed; +#ifdef Q_OS_WIN32 + path.replace("\\", "/"); +#endif + if (path.endsWith("sv")) { if (!haveSession) { status = m_mainWindow->openSessionFile(path);