Skip to content

Commit

Permalink
Browse: improve debug output for added tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Jan 29, 2022
1 parent 9457a58 commit 8f28523
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/library/browse/browsethread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,12 +296,13 @@ void BrowseThread::populateModel() {
if (row % 10 == 0) {
// this is a blocking operation
emit rowsAppended(rows, thisModelObserver);
qDebug() << "Append " << rows.count() << " from " << fileAccess.info();
qDebug() << "Append" << rows.count() << "tracks from "
<< thisPath.info().locationPath();
rows.clear();
}
// Sleep additionally for 10ms which prevents us from GUI freezes
// Sleep additionally for 20ms which prevents us from GUI freezes
msleep(20);
}
emit rowsAppended(rows, thisModelObserver);
qDebug() << "Append last " << rows.count();
qDebug() << "Append last" << rows.count() << "tracks from" << thisPath.info().locationPath();
}

0 comments on commit 8f28523

Please sign in to comment.