All pastes #1751019 Raw Edit

teuf

public text v1 · immutable
#1751019 ·published 2010-01-14 14:50 UTC
rendered paste body
diff --git a/src/collection/mtpcollection/handler/MtpHandler.cpp b/src/collection/mtpcollection/handler/MtpHandler.cppindex 252f7be..089ac61 100644--- a/src/collection/mtpcollection/handler/MtpHandler.cpp+++ b/src/collection/mtpcollection/handler/MtpHandler.cpp@@ -1157,7 +1157,7 @@ MtpHandler::libSetYear( Meta::MediaDeviceTrackPtr &track, const QString& year ) void MtpHandler::libSetLength( Meta::MediaDeviceTrackPtr &track, int length ) {-    m_mtpTrackHash.value( track )->duration = ( length > 0 ? length*1000 : 0 );+    m_mtpTrackHash.value( track )->duration = ( length > 0 ? length : 0 ); } void MtpHandler::libSetTrackNumber( Meta::MediaDeviceTrackPtr &track, int tracknum )