summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android/qandroidplatformopenglwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/android/qandroidplatformopenglwindow.cpp')
-rw-r--r--src/plugins/platforms/android/qandroidplatformopenglwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/platforms/android/qandroidplatformopenglwindow.cpp b/src/plugins/platforms/android/qandroidplatformopenglwindow.cpp
index a23da707d61..95a4963756d 100644
--- a/src/plugins/platforms/android/qandroidplatformopenglwindow.cpp
+++ b/src/plugins/platforms/android/qandroidplatformopenglwindow.cpp
@@ -4,7 +4,6 @@
#include "qandroidplatformopenglwindow.h"
-#include "androiddeadlockprotector.h"
#include "androidjnimain.h"
#include "qandroideventdispatcher.h"
#include "qandroidplatformscreen.h"
@@ -61,7 +60,7 @@ EGLSurface QAndroidPlatformOpenGLWindow::eglSurface(EGLConfig config)
// If we haven't called createSurface() yet, call it and wait until Android has created
// the Surface
if (!m_surfaceCreated) {
- AndroidDeadlockProtector protector;
+ QtAndroidPrivate::AndroidDeadlockProtector protector;
if (!protector.acquire()) {
static constexpr char funcName[] = "QAndroidPlatformOpenGLWindow::eglSurface()";
qFatal("Failed to acquire deadlock protector for %s.", funcName);