Remove the answer to life the universe and everything

This commit is contained in:
Jonas Kvinge 2019-12-29 23:46:35 +01:00
parent 9b688a5179
commit d3d60327ab
1 changed files with 1 additions and 6 deletions

View File

@ -369,13 +369,8 @@ void PlaylistContainer::UpdateNoMatchesLabel() {
QString text; QString text;
if (has_rows && !has_results) { if (has_rows && !has_results) {
if (ui_->filter->text().trimmed().compare("the answer to life the universe and everything", Qt::CaseInsensitive) == 0) {
text = "42";
}
else {
text = tr("No matches found. Clear the search box to show the whole playlist again."); text = tr("No matches found. Clear the search box to show the whole playlist again.");
} }
}
if (!text.isEmpty()) { if (!text.isEmpty()) {
no_matches_label_->setText(text); no_matches_label_->setText(text);