|
|
|
@ -278,7 +278,7 @@ void ScanLib::updateItemsWithoutDate()
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
TQPair<TQString, int> fileID = tqMakePair(fi.fileName(),albumID);
|
|
|
|
|
TQPair<TQString, int> fileID = qMakePair(fi.fileName(),albumID);
|
|
|
|
|
|
|
|
|
|
if (m_filesToBeDeleted.findIndex(fileID) == -1)
|
|
|
|
|
{
|
|
|
|
@ -393,9 +393,9 @@ void ScanLib::allFiles(const TQString& directory)
|
|
|
|
|
TQMapIterator<TQString,bool> it;
|
|
|
|
|
for (it = filesFoundInDB.begin(); it != filesFoundInDB.end(); ++it)
|
|
|
|
|
{
|
|
|
|
|
if (m_filesToBeDeleted.findIndex(tqMakePair(it.key(),albumID)) == -1)
|
|
|
|
|
if (m_filesToBeDeleted.findIndex(qMakePair(it.key(),albumID)) == -1)
|
|
|
|
|
{
|
|
|
|
|
m_filesToBeDeleted.append(tqMakePair(it.key(),albumID));
|
|
|
|
|
m_filesToBeDeleted.append(qMakePair(it.key(),albumID));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|