diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-05-07 15:35:12 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-05-07 15:35:12 +0200 |
commit | 78c36a54347f2862d26531c84b95740e96f22bb2 (patch) | |
tree | 42bdefa4ef56c8ebc63569cffa0cb87754657b02 /ftnoir_protocol_ft | |
parent | 9c1e61d2ec2696c32f39d9ff931767802f803b5b (diff) |
allow launch dummy with spaces in filename
Diffstat (limited to 'ftnoir_protocol_ft')
-rw-r--r-- | ftnoir_protocol_ft/ftnoir_protocol_ft.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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;
}
}
|