Commit 18907bf5 authored by Anupam Basak's avatar Anupam Basak

Fix compiler warnings

parent 15636c27
......@@ -58,6 +58,8 @@ CallLogs::ORDER CallLogs::getOrder() const
void CallLogs::getList(const bool &cached)
{
Q_UNUSED(cached)
QFutureWatcher<FMH::MODEL_LIST> *watcher = new QFutureWatcher<FMH::MODEL_LIST>;
connect(watcher, &QFutureWatcher<FMH::MODEL_LIST>::finished, [=]() {
emit this->preListChanged();
......
......@@ -138,7 +138,7 @@ void ContactsModel::filter()
FMH::MODEL_LIST res;
if (this->m_query.contains("=")) {
auto q = this->m_query.split("=", QString::SkipEmptyParts);
auto q = this->m_query.split("=", Qt::SkipEmptyParts);
if (q.size() == 2) {
for (auto item : this->list) {
if (item[FMH::MODEL_NAME_KEY[q.first().trimmed()]].replace(" ", "").contains(q.last().trimmed()))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment