mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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>
This commit is contained in:
parent
2cbc393f4d
commit
79df0ded3c
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue