Add interface to request the pid of the running instance.

This commit is contained in:
sledgehammer999
2013-09-15 00:10:01 +03:00
committed by Vladimir Golovnev (Glassez)
parent da561ccd38
commit 89b82778e6
4 changed files with 66 additions and 0 deletions

View File

@@ -349,3 +349,9 @@ void QtSingleApplication::activateWindow()
\obsolete
*/
#ifdef Q_OS_WIN
ulong QtSingleApplication::getRunningPid() {
return peer->getRunningPid();
}
#endif