From 92ada0efad9f0b0a3263e4245cfd1441f4b9f7a9 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 23 Nov 2018 18:11:10 +0100 Subject: Clang fixes, nullptr and WindowFlags... --- consistencycheck.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'consistencycheck.h') diff --git a/consistencycheck.h b/consistencycheck.h index 7f445eb..5c8dfb5 100644 --- a/consistencycheck.h +++ b/consistencycheck.h @@ -29,7 +29,7 @@ class ConsistencyCheck : public SmDialog { Q_OBJECT public: enum Mode { DbCheck, FsCheck }; - explicit ConsistencyCheck(QWidget *parent = 0, Qt::WindowFlags f = 0); + explicit ConsistencyCheck(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::Widget); ~ConsistencyCheck(); public slots: @@ -61,7 +61,7 @@ class ConsistencyChecker : public QThread { Q_OBJECT public: enum Status { Ok, Fail }; - explicit ConsistencyChecker(QObject *parent = 0); + explicit ConsistencyChecker(QObject *parent = nullptr); ~ConsistencyChecker(); int mode() const { return mMode; } int count() const { return mCurCount; } -- cgit v1.2.3-70-g09d2