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

@@ -56,13 +56,6 @@ using namespace BlackCore;
namespace BlackSample
{
QProcess *ServiceTool::startNewProcess(const QString &executable, const QStringList &arguments, QObject *parent)
{
QProcess *process = new QProcess(parent);
process->startDetached(executable, arguments);
return process;
}
void ServiceTool::dataTransferTestServer(BlackMisc::CDBusServer *dBusServer, bool verbose)
{
QDBusConnection sessionBusConnection = QDBusConnection::sessionBus();