From 8c94568c310d536592c090f03e773aad3348c88a Mon Sep 17 00:00:00 2001 From: Jamie Newbon Date: Thu, 10 Sep 2020 12:15:08 +0100 Subject: [PATCH] #6758 Added quotes round the tls path incase there are spaces. --- src/gui/src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp index 4cc156abb..2bcf21776 100644 --- a/src/gui/src/MainWindow.cpp +++ b/src/gui/src/MainWindow.cpp @@ -670,7 +670,7 @@ void MainWindow::startSynergy() if (m_AppConfig->getCryptoEnabled()) { args << "--enable-crypto"; - args << "--tls-cert" << m_AppConfig->getTLSCertPath(); + args << "--tls-cert" << QString("\"%1\"").arg(m_AppConfig->getTLSCertPath()); } #if defined(Q_OS_WIN)