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 {