Commit a2709e9a authored by Laurent Montel's avatar Laurent Montel 😁

Don't emit signal all the time

parent ecd8098e
......@@ -170,7 +170,6 @@ void SearchLineStatus::clearFilterButtonClicked()
clearFilterAction();
clearFilterByAction();
updateFilters();
slotSearchOptionChanged();
}
void SearchLineStatus::createMenuSearch()
......@@ -265,7 +264,6 @@ void SearchLineStatus::createFilterByAction()
void SearchLineStatus::clearFilterByAction()
{
//qDebug() << " void SearchLineStatus::clearFilterByAction()";
mSearchEveryWhereAction->setChecked(true);
}
......@@ -316,15 +314,10 @@ QuickSearchLine::SearchOptions SearchLineStatus::searchOptions() const
return searchOptions;
}
void SearchLineStatus::slotSearchOptionChanged()
{
Q_EMIT searchOptionChanged();
}
void SearchLineStatus::slotFilterActionClicked(QAction *act)
{
Q_UNUSED(act);
slotSearchOptionChanged();
Q_EMIT searchOptionChanged();
}
void SearchLineStatus::addCompletionItem(const QString &str)
......
......@@ -57,7 +57,6 @@ protected:
private Q_SLOTS:
void slotToggledLockAction();
void showMenu();
void slotSearchOptionChanged();
void slotFilterActionClicked(QAction *act);
private:
void clearFilterAction();
......
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