From 30f5445a67a27a73bf6def9fbb798b6276bb1732 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 9 Dec 2018 05:55:27 +0100 Subject: Fix nullptr warnings in FileSorter --- filesorter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filesorter.h b/filesorter.h index 968edf2..e54d744 100644 --- a/filesorter.h +++ b/filesorter.h @@ -6,7 +6,7 @@ class FileSorter : public QSortFilterProxyModel { Q_OBJECT public: - explicit FileSorter(QObject *parent = 0); + explicit FileSorter(QObject *parent = nullptr); protected: virtual bool lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const; @@ -15,7 +15,7 @@ class FileSorter : public QSortFilterProxyModel { class VideoSorter : public QSortFilterProxyModel { Q_OBJECT public: - explicit VideoSorter(QObject *parent = 0); + explicit VideoSorter(QObject *parent = nullptr); protected: virtual bool lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const; -- cgit v1.2.3-70-g09d2