mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-09 11:06:01 +08:00
refactor: clang format line length
This commit is contained in:
@@ -127,14 +127,13 @@ namespace MiscTest
|
||||
//! ctor
|
||||
Server()
|
||||
{
|
||||
QObject::connect(&m_process, qOverload<int, QProcess::ExitStatus>(&QProcess::finished), [](int code, QProcess::ExitStatus status) {
|
||||
qDebug() << "Server process exited" << (status ? "abnormally" : "normally") << "with exit code" << code;
|
||||
});
|
||||
QObject::connect(&m_process, qOverload<int, QProcess::ExitStatus>(&QProcess::finished),
|
||||
[](int code, QProcess::ExitStatus status) {
|
||||
qDebug() << "Server process exited" << (status ? "abnormally" : "normally")
|
||||
<< "with exit code" << code;
|
||||
});
|
||||
m_process.start(QCoreApplication::applicationDirPath() + "/tests_sharedstatetestserver", QStringList());
|
||||
if (!m_process.waitForStarted())
|
||||
{
|
||||
qDebug() << "Server failed to start";
|
||||
}
|
||||
if (!m_process.waitForStarted()) { qDebug() << "Server failed to start"; }
|
||||
}
|
||||
//! dtor
|
||||
~Server()
|
||||
|
||||
Reference in New Issue
Block a user