Fix reordering warning in QEglFSIntegration

Amends 47bcc4dd4b : m_kbdMgr was moved
up to the protected section, so now it must be inited first.

Change-Id: Iad28900affa7ab67122c4a6d1ec9161e2e1c7697
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
bb10
Shawn Rutledge 2020-11-09 18:55:11 +01:00
parent a1ce164d74
commit d8a2ffcea2
1 changed files with 2 additions and 2 deletions

View File

@ -104,11 +104,11 @@ static void initResources()
QT_BEGIN_NAMESPACE
QEglFSIntegration::QEglFSIntegration()
: m_display(EGL_NO_DISPLAY),
: m_kbdMgr(nullptr),
m_display(EGL_NO_DISPLAY),
m_inputContext(nullptr),
m_fontDb(new QGenericUnixFontDatabase),
m_services(new QGenericUnixServices),
m_kbdMgr(nullptr),
m_disableInputHandlers(false)
{
m_disableInputHandlers = qEnvironmentVariableIntValue("QT_QPA_EGLFS_DISABLE_INPUT");