refs #883, fixes and formatting

* QProcess::startDetached is static, removed startNewProcess
* QStringBuilder
This commit is contained in:
Klaus Basan
2017-02-15 03:34:12 +01:00
committed by Mathew Sutcliffe
parent 455d9c7b7d
commit 7bc53ada3e
7 changed files with 28 additions and 34 deletions

View File

@@ -19,6 +19,7 @@
#include <QCoreApplication>
#include <QDBusServer>
#include <QDebug>
#include <QProcess>
#include <QRegExp>
#include <QString>
#include <QStringList>
@@ -180,7 +181,7 @@ int main(int argc, char *argv[])
}
// testing in new process
BlackSample::ServiceTool::startNewProcess(executable, args, &a);
QProcess::startDetached(executable, args);
// testing in same process
// BlackSample::ServiceTool::dataTransferTestClient(address);