diff options
author | Robert C. Helling <helling@atdotde.de> | 2019-03-18 17:17:49 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-04 15:15:07 -0700 |
commit | 101be9e9674cc7c8b7aba5a9759b5a2665a3140e (patch) | |
tree | 01125e8960e337fe18e5cd8bd4696c48f34f27f8 | |
parent | 167b41b6e54ca430788769d421639b70a30e2001 (diff) | |
download | subsurface-101be9e9674cc7c8b7aba5a9759b5a2665a3140e.tar.gz |
Core: remove variable name conflict
Addresses LGTM.com issue.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | core/imagedownloader.cpp | 4 |
1 files 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(); |