From 79df0ded3cfe5dee7c26c40933f0ee3bc98d0322 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 18 Mar 2019 17:17:49 +0100 Subject: 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(-) (limited to 'core') diff --git a/core/imagedownloader.cpp b/core/imagedownloader.cpp index 1559b129b..1f0ff5c0e 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(); -- cgit v1.2.3-70-g09d2