From 63e26f143a13cf60b4e17a8cac9a58a9280b169f Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Fri, 13 Jun 2014 16:13:50 -0400 Subject: [PATCH] DownloadTransform defaults to the file name --- openbr/plugins/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/misc.cpp b/openbr/plugins/misc.cpp index bc97735..0ceba34 100644 --- a/openbr/plugins/misc.cpp +++ b/openbr/plugins/misc.cpp @@ -106,7 +106,7 @@ private: void project(const Template &src, Template &dst) const { dst.file = src.file; - QString url = src.file.get("URL").simplified(); + QString url = src.file.get("URL", src.file.name).simplified(); if (url.isEmpty()) return; -- libgit2 0.21.4