Commit 63e26f143a13cf60b4e17a8cac9a58a9280b169f

Authored by Josh Klontz
1 parent 1270ebc0

DownloadTransform defaults to the file name

Showing 1 changed file with 1 additions and 1 deletions
openbr/plugins/misc.cpp
@@ -106,7 +106,7 @@ private: @@ -106,7 +106,7 @@ private:
106 void project(const Template &src, Template &dst) const 106 void project(const Template &src, Template &dst) const
107 { 107 {
108 dst.file = src.file; 108 dst.file = src.file;
109 - QString url = src.file.get<QString>("URL").simplified(); 109 + QString url = src.file.get<QString>("URL", src.file.name).simplified();
110 if (url.isEmpty()) 110 if (url.isEmpty())
111 return; 111 return;
112 112