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)