Skip to content

Commit

Permalink
Merge pull request #4438 from Be-ing/qsizetype_to_int
Browse files Browse the repository at this point in the history
LibraryScanner: static_cast<int> qsizetype values for Qt6
  • Loading branch information
uklotzde authored Oct 17, 2021
2 parents 224778f + 3323b22 commit f58138a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/library/scanner/libraryscanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,11 @@ void LibraryScanner::slotFinishUnhashedScan() {
"%d changed/added directories. "
"%d tracks verified from changed/added directories. "
"%d new tracks.",
m_scannerGlobal->timerElapsed().formatNanosWithUnit().toLocal8Bit().constData(),
m_scannerGlobal->verifiedDirectories().size(),
m_scannerGlobal->numScannedDirectories(),
m_scannerGlobal->verifiedTracks().size(),
m_scannerGlobal->addedTracks().size());
m_scannerGlobal->timerElapsed().formatNanosWithUnit().toLocal8Bit().constData(),
static_cast<int>(m_scannerGlobal->verifiedDirectories().size()),
m_scannerGlobal->numScannedDirectories(),
static_cast<int>(m_scannerGlobal->verifiedTracks().size()),
static_cast<int>(m_scannerGlobal->addedTracks().size()));

m_scannerGlobal.clear();
changeScannerState(FINISHED);
Expand Down

0 comments on commit f58138a

Please sign in to comment.