From 78c36a54347f2862d26531c84b95740e96f22bb2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 7 May 2013 15:35:12 +0200 Subject: allow launch dummy with spaces in filename --- ftnoir_protocol_ft/ftnoir_protocol_ft.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ftnoir_protocol_ft') diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp index 4140afbd..035a84d9 100644 --- a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp +++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp @@ -260,9 +260,9 @@ void FTNoIR_Protocol::start_dummy() { if (!force_dummy) { force_dummy = true; QString program = QCoreApplication::applicationDirPath() + "/TrackIR.exe"; - dummyTrackIR.start(program); + dummyTrackIR.startDetached("\"" + program + "\""); - qDebug() << "FTServer::run() says: TrackIR.exe executed!"; + qDebug() << "FTServer::run() says: TrackIR.exe executed!" << program; } } -- cgit v1.2.3