X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/1ad3b7775ec7388352d3a02c704062baa5d0aca3..29778152ad:/src/search/dolphinfacetswidget.cpp diff --git a/src/search/dolphinfacetswidget.cpp b/src/search/dolphinfacetswidget.cpp index 7831d4c12..e4388f2e7 100644 --- a/src/search/dolphinfacetswidget.cpp +++ b/src/search/dolphinfacetswidget.cpp @@ -20,32 +20,32 @@ #include "dolphinfacetswidget.h" #include + #include #include #include -#include #include -#include +#include 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); @@ -150,7 +150,7 @@ QString DolphinFacetsWidget::ratingTerm() const terms << QStringLiteral("modified>=%1").arg(date.toString(Qt::ISODate)); } - return terms.join(QStringLiteral(" AND ")); + return terms.join(QLatin1String(" AND ")); } QString DolphinFacetsWidget::facetType() const