Skip to content

Commit

Permalink
[datareader.cpp] Remove superfluous backslashes "\"
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 authored Mar 12, 2024
1 parent 5665c32 commit fc9d26c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/datareader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,14 @@ void DataReader::readFile(QString file)
// throughout all C++ source files), and basename cover or folder
if (iterator.fileInfo().isFile()) {
if ( iterator.fileInfo().suffix() == "jpeg" &&
// See ToDo above: (… || iterator.fileInfo().suffix() == "jpg" || \
// See ToDo above: (… || iterator.fileInfo().suffix() == "jpg" ||
// iterator.fileInfo().suffix() == "png") &&
(iterator.fileInfo().baseName() == "cover" ||
iterator.fileInfo().baseName() == "folder")
)
{
QString th2 = QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + \
"/media-art/album-" + doubleHash(m_artist, m_album) + \
QString th2 = QStandardPaths::writableLocation(QStandardPaths::CacheLocation) +
"/media-art/album-" + doubleHash(m_artist, m_album) +
iterator.fileInfo().suffix();
qDebug() << "PROCESSING FILE: " << iterator.filePath() ;
QFile::copy(iterator.filePath(), th2);
Expand Down

0 comments on commit fc9d26c

Please sign in to comment.