Commit f015f520 authored by Eike Ziller's avatar Eike Ziller Committed by Leandro Melo
Browse files

Fix windows build



Change-Id: I43fe2b0fb2f0365b1c07b92a3a8567ab8adcc1a4
Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
parent 0b5f1d8e
......@@ -43,7 +43,7 @@ void QtSingleApplication::sysInit(const QString &appId)
actWin = 0;
firstPeer = new QtLocalPeer(this, appId);
connect(firstPeer, SIGNAL(messageReceived(const QString&)), SIGNAL(messageReceived(const QString&)));
pidPeer = new QtLocalPeer(this, appId + QLatin1Char('-') + QString::number(::getpid(), 10));
pidPeer = new QtLocalPeer(this, appId + QLatin1Char('-') + QString::number(QCoreApplication::applicationPid(), 10));
connect(pidPeer, SIGNAL(messageReceived(const QString&)), SIGNAL(messageReceived(const QString&)));
}
......
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