Add default to switch

This commit is contained in:
Jonas Kvinge
2024-06-12 17:41:17 +02:00
parent 7b43a94055
commit 05358cdfe4
7 changed files with 34 additions and 9 deletions

View File

@@ -117,6 +117,9 @@ void PlaylistListModel::AddRowItem(QStandardItem *item, const QString &parent_pa
AddRowItem(child_item, parent_path);
}
break;
default:
break;
}
}
@@ -139,6 +142,9 @@ void PlaylistListModel::RowsAboutToBeRemoved(const QModelIndex &parent, const in
case Type_Folder:
break;
default:
break;
}
}
@@ -228,6 +234,9 @@ bool PlaylistListModel::setData(const QModelIndex &idx, const QVariant &value, i
// Walk all the children and modify their paths.
UpdatePathsRecursive(idx);
break;
default:
break;
}
return true;