mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
Cleanup
This commit is contained in:
@@ -20,18 +20,6 @@ IpcServerProcess::IpcServerProcess(QObject *parent) :
|
||||
qDebug() << "IpcServerProcess errorOccurred " << error;
|
||||
});
|
||||
|
||||
// connect(m_process.data(), &QProcess::readyReadStandardError, this, [this](){
|
||||
// qDebug() << "IpcServerProcess StandardError " << m_process->readAllStandardError();
|
||||
|
||||
// });
|
||||
// connect(m_process.data(), &QProcess::readyReadStandardOutput, this, [this](){
|
||||
// qDebug() << "IpcServerProcess StandardOutput " << m_process->readAllStandardOutput();
|
||||
// });
|
||||
|
||||
// connect(m_process.data(), &QProcess::readyRead, this, [this](){
|
||||
// qDebug() << "IpcServerProcess StandardOutput " << m_process->readAll();
|
||||
// });
|
||||
|
||||
}
|
||||
|
||||
IpcServerProcess::~IpcServerProcess()
|
||||
@@ -39,14 +27,6 @@ IpcServerProcess::~IpcServerProcess()
|
||||
qDebug() << "IpcServerProcess::~IpcServerProcess";
|
||||
}
|
||||
|
||||
//void IpcServerProcess::start(const QString &program, const QStringList &arguments)
|
||||
//{
|
||||
// m_process->start(program, arguments);
|
||||
// qDebug() << "IpcServerProcess started, " << arguments;
|
||||
|
||||
// m_process->waitForStarted();
|
||||
//}
|
||||
|
||||
void IpcServerProcess::start()
|
||||
{
|
||||
if (m_process->program().isEmpty()) {
|
||||
|
||||
@@ -13,7 +13,6 @@ public:
|
||||
explicit IpcServerProcess(QObject *parent = nullptr);
|
||||
virtual ~IpcServerProcess();
|
||||
|
||||
//void start(const QString &program, const QStringList &arguments) override;
|
||||
void start() override;
|
||||
void close() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user