Skip to content

Commit

Permalink
Apply clang-format patch manually, add comment
Browse files Browse the repository at this point in the history
My local clang-format doesn't like this change, but I obey the CI
  • Loading branch information
DarthGandalf authored and hatstand committed Jan 8, 2025
1 parent 54ad1c8 commit c3daf0a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/visualisations/projectmpresetmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ ProjectMPresetModel::ProjectMPresetModel(ProjectMVisualisation* vis,
QObject* parent)
: QAbstractItemModel(parent), vis_(vis) {
// Find presets
QDirIterator it(vis_->preset_url(), QStringList() << "*.milk" << "*.prjm",
QDirIterator it(vis_->preset_url(),
QStringList() << "*.milk"
<< "*.prjm",
QDir::Files | QDir::NoDotAndDotDot | QDir::Readable,
QDirIterator::Subdirectories);
// std::set makes them sorted
std::set<std::pair<QString, QString>> files;
while (it.hasNext()) {
it.next();
Expand Down

0 comments on commit c3daf0a

Please sign in to comment.