diff options
author | Robert C. Helling <helling@atdotde.de> | 2019-03-18 17:17:49 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-03-18 19:40:32 -0700 |
commit | 79df0ded3cfe5dee7c26c40933f0ee3bc98d0322 (patch) | |
tree | d217872be4178d6b94589bf75042e65119a6a9a6 /core/imagedownloader.cpp | |
parent | 2cbc393f4dc36779d5e242ff42fcf75342fa64c1 (diff) | |
download | subsurface-79df0ded3cfe5dee7c26c40933f0ee3bc98d0322.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>
Diffstat (limited to 'core/imagedownloader.cpp')
-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 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(); |