diff options
Diffstat (limited to 'juk/cache.cpp')
-rw-r--r-- | juk/cache.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/juk/cache.cpp b/juk/cache.cpp index 6cfed63f..34d59b46 100644 --- a/juk/cache.cpp +++ b/juk/cache.cpp @@ -84,7 +84,7 @@ void Cache::save() TQDataStream fs(&f); - TQ_INT32 checksum = qChecksum(data.data(), data.size()); + TQ_INT32 checksum = tqChecksum(data.data(), data.size()); fs << TQ_INT32(m_currentVersion) << checksum @@ -120,7 +120,7 @@ void Cache::loadPlaylists(PlaylistCollection *collection) // static TQ_UINT16 checksum; fs >> checksum >> data; - if(checksum != qChecksum(data.data(), data.size())) + if(checksum != tqChecksum(data.data(), data.size())) return; // Create a new stream just based on the data. @@ -244,7 +244,7 @@ void Cache::savePlaylists(const PlaylistList &playlists) TQDataStream fs(&f); fs << TQ_INT32(playlistCacheVersion); - fs << qChecksum(data.data(), data.size()); + fs << tqChecksum(data.data(), data.size()); fs << data; f.close(); @@ -297,7 +297,7 @@ void Cache::load() buffer.open(IO_ReadOnly); s.setDevice(&buffer); - if(checksum != qChecksum(data.data(), data.size())) { + if(checksum != tqChecksum(data.data(), data.size())) { KMessageBox::sorry(0, i18n("The music data cache has been corrupted. JuK " "needs to rescan it now. This may take some time.")); return; |