Mark QCoreApplication::applicationPid() as const function
The PID cannot change. Change-Id: I0b48fc8e90304e0dacc3fffd14e9324bfcda4412 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
parent
bd4506fe5b
commit
5e8b8a9388
@ -139,7 +139,7 @@ public:
|
||||
|
||||
static QString applicationDirPath();
|
||||
static QString applicationFilePath();
|
||||
static qint64 applicationPid();
|
||||
static qint64 applicationPid() Q_DECL_CONST_FUNCTION;
|
||||
|
||||
#if QT_CONFIG(library)
|
||||
static void setLibraryPaths(const QStringList &);
|
||||
|
Loading…
Reference in New Issue
Block a user