Commit 5abf26ea authored by Stefan Gerlach's avatar Stefan Gerlach
Browse files

Fix pid usage on Windows

parent 2fa1800d
......@@ -62,7 +62,7 @@ void RSession::login()
m_process->waitForReadyRead();
qDebug()<<m_process->readAllStandardOutput();
m_rServer = new org::kde::Cantor::R(QString::fromLatin1("org.kde.Cantor.R-%1").arg(m_process->pid()), QLatin1String("/"), QDBusConnection::sessionBus(), this);
m_rServer = new org::kde::Cantor::R(QString::fromLatin1("org.kde.Cantor.R-%1").arg(m_process->processId()), QLatin1String("/"), QDBusConnection::sessionBus(), this);
connect(m_rServer, &org::kde::Cantor::R::statusChanged, this, &RSession::serverChangedStatus);
connect(m_rServer, &org::kde::Cantor::R::expressionFinished, this, &RSession::expressionFinished);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment