From 12cfae5b914aef3fdd62a152aacf60532216f1e8 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 29 Sep 2018 19:50:21 +0200 Subject: Fix 0 -> nullptr and implicit conversions --- copyworker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'copyworker.h') diff --git a/copyworker.h b/copyworker.h index 7413f49..165f59b 100644 --- a/copyworker.h +++ b/copyworker.h @@ -18,12 +18,12 @@ class CopyWorker : public QThread { Q_OBJECT public: - CopyWorker(QObject *parent = 0); + CopyWorker(QObject *parent = nullptr); void enqueue(const QString &source, const QString &destination); void appendData(const QString &source, const QVariant &data); const QHash > data() const { return mData; } void clear(); - qint64 max() const { return mMax; } + int max() const { return mMax; } virtual void run(); signals: -- cgit v1.2.3-70-g09d2