From 101be9e9674cc7c8b7aba5a9759b5a2665a3140e Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 18 Mar 2019 17:17:49 +0100 Subject: [PATCH] Core: remove variable name conflict Addresses LGTM.com issue. Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- core/imagedownloader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/imagedownloader.cpp b/core/imagedownloader.cpp index d78409a3c..667fd099f 100644 --- a/core/imagedownloader.cpp +++ b/core/imagedownloader.cpp @@ -84,9 +84,9 @@ static bool hasVideoFileExtension(const QString &filename) // If the input-flag "tryDownload" is set to false, no download attempt is made. This is to // prevent infinite loops, where failed image downloads would be repeated ad infinitum. // Returns: fetched image, type -Thumbnailer::Thumbnail Thumbnailer::fetchImage(const QString &filename, const QString &originalFilename, bool tryDownload) +Thumbnailer::Thumbnail Thumbnailer::fetchImage(const QString &urlfilename, const QString &originalFilename, bool tryDownload) { - QUrl url = QUrl::fromUserInput(filename); + QUrl url = QUrl::fromUserInput(urlfilename); if (url.isLocalFile()) { // We try to determine the type first by peeking into the file. QString filename = url.toLocalFile();