From 1365b36d36d27aea1d351f4694a910d218cf9615 Mon Sep 17 00:00:00 2001 From: olf Date: Wed, 19 Jun 2024 00:05:21 +0200 Subject: [PATCH] [src/datareader.cpp] Omit superfluous `QString oFile` (#100) For details, see https://github.com/sailfishos-applications/flowplayer/pull/75#review-thread-or-comment-id-970094536 --- src/datareader.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/datareader.cpp b/src/datareader.cpp index c15bf09..5884594 100644 --- a/src/datareader.cpp +++ b/src/datareader.cpp @@ -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);