QFutureWatcher: Use nullptr as a default value in constructor
... to make user code buildable with gcc [-Werror=zero-as-null-pointer-constant]. Change-Id: I309953acd7154511660302aa9826410276cfe41b Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
de250dd22c
commit
fbda8acc92
@ -115,7 +115,7 @@ template <typename T>
|
||||
class QFutureWatcher : public QFutureWatcherBase
|
||||
{
|
||||
public:
|
||||
explicit QFutureWatcher(QObject *_parent = 0)
|
||||
explicit QFutureWatcher(QObject *_parent = nullptr)
|
||||
: QFutureWatcherBase(_parent)
|
||||
{ }
|
||||
~QFutureWatcher()
|
||||
|
Loading…
Reference in New Issue
Block a user