Skip to content

Commit

Permalink
[src/datareader.cpp] Omit superfluous QString oFile (#100)
Browse files Browse the repository at this point in the history
For details, see #75 (comment)
  • Loading branch information
Olf0 authored Jun 18, 2024
1 parent 19a9ec1 commit 1365b36
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/datareader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,6 @@ TagLib::File* DataReader::getFileByMimeType(QString file)

void DataReader::readFile(QString file)
{
// Is oFile used somewhere? (I failed to find a location.)
// If not, what is this new line good for? For details, see PR #75.
QString oFile = file;

file.remove("file://");
TagLib::File* tf = getFileByMimeType(file);

Expand Down

0 comments on commit 1365b36

Please sign in to comment.