Skip to content

Commit

Permalink
qobject_p.h: Use nullptr everywhere
Browse files Browse the repository at this point in the history
Change-Id: I605e44607cc09775548c1e6b781d476c1627c9c7
Reviewed-by: Simon Hausmann <[email protected]>
  • Loading branch information
krf committed Nov 28, 2018
1 parent ae8389e commit 49d6305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corelib/kernel/qobject_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ inline QMetaObject::Connection QObjectPrivate::connect(const typename QtPrivate:
Q_STATIC_ASSERT_X((QtPrivate::AreArgumentsCompatible<typename SlotType::ReturnType, typename SignalType::ReturnType>::value),
"Return type of the slot is not compatible with the return type of the signal.");

const int *types = 0;
const int *types = nullptr;
if (type == Qt::QueuedConnection || type == Qt::BlockingQueuedConnection)
types = QtPrivate::ConnectionTypes<typename SignalType::Arguments>::types();

Expand Down

0 comments on commit 49d6305

Please sign in to comment.