QJNIHelpers: make mutexes static
Amends 265db5ad9b
.
Change-Id: I707bb88285531ee9f82efec46901871d53413eb3
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
parent
e0c43fb046
commit
03903ec783
@ -61,7 +61,7 @@ static jclass g_jNativeClass = Q_NULLPTR;
|
||||
static jmethodID g_runPendingCppRunnablesMethodID = Q_NULLPTR;
|
||||
static jmethodID g_hideSplashScreenMethodID = Q_NULLPTR;
|
||||
Q_GLOBAL_STATIC(std::deque<QtAndroidPrivate::Runnable>, g_pendingRunnables);
|
||||
QBasicMutex g_pendingRunnablesMutex;
|
||||
static QBasicMutex g_pendingRunnablesMutex;
|
||||
|
||||
class PermissionsResultClass : public QObject
|
||||
{
|
||||
@ -76,7 +76,7 @@ private:
|
||||
|
||||
typedef QHash<int, QSharedPointer<PermissionsResultClass>> PendingPermissionRequestsHash;
|
||||
Q_GLOBAL_STATIC(PendingPermissionRequestsHash, g_pendingPermissionRequests);
|
||||
QBasicMutex g_pendingPermissionRequestsMutex;
|
||||
static QBasicMutex g_pendingPermissionRequestsMutex;
|
||||
static int nextRequestCode()
|
||||
{
|
||||
static QBasicAtomicInt counter;
|
||||
|
Loading…
Reference in New Issue
Block a user