Give Clementine the answer to the ultimate question of life, the universe and everything
Probably my most valuable contribution so far
This commit is contained in:
parent
f10450cb97
commit
0976cc7e5c
@ -361,9 +361,15 @@ void PlaylistContainer::UpdateNoMatchesLabel() {
|
||||
|
||||
QString text;
|
||||
if (has_rows && !has_results) {
|
||||
text =
|
||||
tr("No matches found. Clear the search box to show the whole playlist "
|
||||
"again.");
|
||||
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.");
|
||||
}
|
||||
}
|
||||
|
||||
if (!text.isEmpty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user