mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-09 19:16:01 +08:00
refs #883, fixes and formatting
* QProcess::startDetached is static, removed startNewProcess * QStringBuilder
This commit is contained in:
committed by
Mathew Sutcliffe
parent
455d9c7b7d
commit
7bc53ada3e
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user