From 9aae5db29de07a0404209d2457f269d8fc3873be Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sat, 17 Aug 2013 12:49:28 +0000 Subject: [PATCH] Fixed issue with working directory path containing spaces. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3561 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index cb2fa51f1..5eae0a27e 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -325,7 +325,7 @@ MainWindow::MainWindow(QSettings * settings, QSharedMemory *shdmem, QString *the // proc_jt9.start(QDir::toNativeSeparators('"' + m_appDir + '"' + "/jt9 -s " + bc)); QByteArray lda = m_appDir.toLocal8Bit(); const char *ldir = lda.data(); - proc_jt9.start(QDir::toNativeSeparators('"' + m_appDir + '"' + "/jt9 -s " + bc + " " + ldir)); + proc_jt9.start(QDir::toNativeSeparators('"' + m_appDir + "\"/jt9 -s " + bc + " \"" + ldir + '"')); m_pbdecoding_style1="QPushButton{background-color: cyan; \ border-style: outset; border-width: 1px; border-radius: 5px; \