~ubuntu-branches/ubuntu/dapper/kdemultimedia/dapper

« back to all changes in this revision

Viewing changes to libkcddb/cddb.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2006-01-23 14:26:07 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060123142607-4cj5fiu4gef3wypf
Tags: 4:3.5.1-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
      }
67
67
    }
68
68
 
69
 
    unsigned int l = (list[numTracks + 1] + 1) / 75;
 
69
    unsigned int l = list[numTracks + 1] / 75;
70
70
    l -= list[0] / 75;
71
71
 
72
72
    id = ( ( id % 255 ) << 24 ) | ( l << 8 ) | numTracks;
92
92
 
93
93
    unsigned int discLengthInSec = ( trackOffsetList_[ numTracks+1 ] ) / 75;
94
94
 
95
 
    // Disc length in seconds.
96
95
    ret.append( QString::number( discLengthInSec ) );
97
96
 
98
97
    return ret;