From 075f9f0d8ed96be246ddd2caf09f64c1741a3597 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Tue, 17 Mar 2015 12:00:28 -0400 Subject: [PATCH] Added fte to download --- openbr/plugins/io/download.cpp | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/openbr/plugins/io/download.cpp b/openbr/plugins/io/download.cpp index 1d3dd87..dbffb5e 100644 --- a/openbr/plugins/io/download.cpp +++ b/openbr/plugins/io/download.cpp @@ -111,6 +111,9 @@ private: dst.file.set("ImageID", QVariant(QCryptographicHash::hash(data, QCryptographicHash::Md5).toHex())); dst.file.set("AlgorithmID", data.isEmpty() ? 0 : (mode == Decoded ? 5 : 3)); + } else { + dst.file.fte = true; + qWarning("Error opening %s", qPrintable(url)); } } }; -- libgit2 0.21.4