Remove useless else

This commit is contained in:
Jonas Kvinge
2024-06-12 17:38:58 +02:00
parent 93df859aa4
commit b233600b8c
32 changed files with 178 additions and 211 deletions

View File

@@ -161,7 +161,7 @@ bool SmartPlaylistSearchTerm::is_valid() const {
if (operator_ == Operator::NumericDate) {
return value_.toInt() >= 0;
}
else if (operator_ == Operator::RelativeDate) {
if (operator_ == Operator::RelativeDate) {
return (value_.toInt() >= 0 && value_.toInt() < second_value_.toInt());
}