┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-11-03 08:01:02 +0100
committerMontel Laurent <[email protected]>2017-11-03 14:54:06 +0100
commitff3f476ed816cff5fc38117979d181707f934639 (patch)
tree3caabc1f9699531bb1c0b13a0f57092c3cf06490 /src/search
parentd1acb1d56e18f4adef3eba7fc61facb1db5deb75 (diff)
Use nullptr + add explicit keyword
Test Plan: compile Reviewers: #dolphin, broulik Reviewed By: broulik Subscribers: #dolphin Differential Revision: https://phabricator.kde.org/D8637
Diffstat (limited to 'src/search')
-rw-r--r--src/search/dolphinfacetswidget.cpp34
-rw-r--r--src/search/dolphinfacetswidget.h2
2 files changed, 18 insertions, 18 deletions
diff --git a/src/search/dolphinfacetswidget.cpp b/src/search/dolphinfacetswidget.cpp
index 7831d4c12..cf0134f4e 100644
--- a/src/search/dolphinfacetswidget.cpp
+++ b/src/search/dolphinfacetswidget.cpp
@@ -29,23 +29,23 @@
DolphinFacetsWidget::DolphinFacetsWidget(QWidget* parent) :
QWidget(parent),
- m_folders(0),
- m_documents(0),
- m_images(0),
- m_audio(0),
- m_videos(0),
- m_anytime(0),
- m_today(0),
- m_yesterday(0),
- m_thisWeek(0),
- m_thisMonth(0),
- m_thisYear(0),
- m_anyRating(0),
- m_oneOrMore(0),
- m_twoOrMore(0),
- m_threeOrMore(0),
- m_fourOrMore(0),
- m_maxRating(0)
+ m_folders(nullptr),
+ m_documents(nullptr),
+ m_images(nullptr),
+ m_audio(nullptr),
+ m_videos(nullptr),
+ m_anytime(nullptr),
+ m_today(nullptr),
+ m_yesterday(nullptr),
+ m_thisWeek(nullptr),
+ m_thisMonth(nullptr),
+ m_thisYear(nullptr),
+ m_anyRating(nullptr),
+ m_oneOrMore(nullptr),
+ m_twoOrMore(nullptr),
+ m_threeOrMore(nullptr),
+ m_fourOrMore(nullptr),
+ m_maxRating(nullptr)
{
QButtonGroup* filetypeGroup = new QButtonGroup(this);
m_anyType = createRadioButton(i18nc("@option:check", "Any"), filetypeGroup);
diff --git a/src/search/dolphinfacetswidget.h b/src/search/dolphinfacetswidget.h
index 1c041a2f9..996829ee3 100644
--- a/src/search/dolphinfacetswidget.h
+++ b/src/search/dolphinfacetswidget.h
@@ -47,7 +47,7 @@ class DolphinFacetsWidget : public QWidget
Q_OBJECT
public:
- explicit DolphinFacetsWidget(QWidget* parent = 0);
+ explicit DolphinFacetsWidget(QWidget* parent = nullptr);
virtual ~DolphinFacetsWidget();
QString ratingTerm() const;