Compile fix: C++11 usage: Replace nullptr with Q_NULLPTR
Another compile fix when compiling qt with -stdc++ c++98 option. Replace nullptr with Q_NULLPTR. Change-Id: I7765905031fa91250dbbcc9768b9e8b109e7594d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
f75b78a92a
commit
11353ea6a5
@ -125,7 +125,7 @@ void QEglFSKmsCursor::updateMouseStatus()
|
|||||||
m_state = visible ? CursorPendingVisible : CursorPendingHidden;
|
m_state = visible ? CursorPendingVisible : CursorPendingHidden;
|
||||||
|
|
||||||
#ifndef QT_NO_CURSOR
|
#ifndef QT_NO_CURSOR
|
||||||
changeCursor(nullptr, m_screen->topLevelAt(pos()));
|
changeCursor(Q_NULLPTR, m_screen->topLevelAt(pos()));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user