From 6e0bf20bc48897a0f668dbe7e04767ed2f0cd1a8 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 24 Mar 2020 17:57:32 +0200 Subject: [PATCH] Clang warnings. --- src/libs/vtools/dialogs/tools/dialoggroup.h | 2 +- src/libs/vwidgets/vlineedit.cpp | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/libs/vtools/dialogs/tools/dialoggroup.h b/src/libs/vtools/dialogs/tools/dialoggroup.h index 5872b943e..ca9632c89 100644 --- a/src/libs/vtools/dialogs/tools/dialoggroup.h +++ b/src/libs/vtools/dialogs/tools/dialoggroup.h @@ -57,7 +57,7 @@ public: void SetTags(const QStringList &tags); QStringList GetTags() const; - void SetGroupCategories(const QStringList &categories); + virtual void SetGroupCategories(const QStringList &categories) override; QMap GetGroup() const; diff --git a/src/libs/vwidgets/vlineedit.cpp b/src/libs/vwidgets/vlineedit.cpp index 1bbc81298..e919a5456 100644 --- a/src/libs/vwidgets/vlineedit.cpp +++ b/src/libs/vwidgets/vlineedit.cpp @@ -42,7 +42,6 @@ class MultiSelectCompleter : public QCompleter { public: explicit MultiSelectCompleter(QObject* parent=nullptr); - MultiSelectCompleter(const QStringList& items, QObject* parent=nullptr); virtual ~MultiSelectCompleter() =default; virtual QString pathFromIndex(const QModelIndex& index) const override; @@ -59,11 +58,6 @@ MultiSelectCompleter::MultiSelectCompleter(QObject *parent) : QCompleter(parent) {} -//--------------------------------------------------------------------------------------------------------------------- -MultiSelectCompleter::MultiSelectCompleter(const QStringList& items, QObject* parent) - : QCompleter(items, parent) -{} - //--------------------------------------------------------------------------------------------------------------------- QString MultiSelectCompleter::pathFromIndex(const QModelIndex& index) const {