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:
Thiago Macieira 2017-09-30 10:00:32 -07:00
parent bd4506fe5b
commit 5e8b8a9388

View File

@ -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 &);