From 227c18fc5a4fdda11572bf125540fe0aca57df12 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 21 May 2015 21:39:51 +0200 Subject: [PATCH] Fix card update under windows It failed if the path contained spaces. --- cockatrice/src/window_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/window_main.cpp b/cockatrice/src/window_main.cpp index f69a18dd..e6f88e95 100644 --- a/cockatrice/src/window_main.cpp +++ b/cockatrice/src/window_main.cpp @@ -572,7 +572,7 @@ void MainWindow::actCheckCardUpdates() return; } - cardUpdateProcess->start(updaterCmd); + cardUpdateProcess->start("\"" + updaterCmd + "\""); } void MainWindow::cardUpdateError(QProcess::ProcessError err)