Some improvements of requesting pid of running instance code.

This commit is contained in:
Vladimir Golovnev (Glassez)
2013-09-17 16:21:23 +04:00
parent b78ea79d30
commit dbf8675de3
5 changed files with 32 additions and 34 deletions

View File

@@ -89,7 +89,8 @@ public:
void initialize(bool dummy = true)
{ isRunning(); Q_UNUSED(dummy) }
#ifdef Q_OS_WIN
ulong getRunningPid();
#define QBT_HAS_GETCURRENTPID
qint64 getRunningPid();
#endif
public Q_SLOTS: