From d2e750129c296fdf46537b62414baa3af1eae58f Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Thu, 7 Jun 2018 13:10:14 +0200 Subject: [PATCH] Remove unused std::string version of CompletionModel addString --- src/util/completionmodel.cpp | 5 ----- src/util/completionmodel.hpp | 1 - 2 files changed, 6 deletions(-) diff --git a/src/util/completionmodel.cpp b/src/util/completionmodel.cpp index 25ab891ea..cb8fa6370 100644 --- a/src/util/completionmodel.cpp +++ b/src/util/completionmodel.cpp @@ -79,11 +79,6 @@ void CompletionModel::refresh() // } } -void CompletionModel::addString(const std::string &str, TaggedString::Type type) -{ - this->addString(qS(str), type); -} - void CompletionModel::addString(const QString &str, TaggedString::Type type) { std::lock_guard lock(this->emotesMutex); diff --git a/src/util/completionmodel.hpp b/src/util/completionmodel.hpp index 016e23985..76d22d656 100644 --- a/src/util/completionmodel.hpp +++ b/src/util/completionmodel.hpp @@ -117,7 +117,6 @@ public: } void refresh(); - void addString(const std::string &str, TaggedString::Type type); void addString(const QString &str, TaggedString::Type type); void addUser(const QString &str);