Make qtmultimedia 5.6 branch compile without c++11:nullptr usage
5.6 should not require c++11 features, however, nullptr slipped in here. Replace nullptr with Q_NULLPTR for initialization. Change-Id: Icf62618657b5bb725bd4c8f924853fa191f6e413 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
|||||||
m_tag(0),
|
m_tag(0),
|
||||||
m_bus(bus),
|
m_bus(bus),
|
||||||
m_helper(parent),
|
m_helper(parent),
|
||||||
m_intervalTimer(nullptr)
|
m_intervalTimer(Q_NULLPTR)
|
||||||
{
|
{
|
||||||
// glib event loop can be disabled either by env variable or QT_NO_GLIB define, so check the dispacher
|
// glib event loop can be disabled either by env variable or QT_NO_GLIB define, so check the dispacher
|
||||||
QAbstractEventDispatcher *dispatcher = QCoreApplication::eventDispatcher();
|
QAbstractEventDispatcher *dispatcher = QCoreApplication::eventDispatcher();
|
||||||
|
|||||||
Reference in New Issue
Block a user