aboutsummaryrefslogtreecommitdiff
path: root/lib/events/eventcontent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/eventcontent.h')
-rw-r--r--lib/events/eventcontent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/eventcontent.h b/lib/events/eventcontent.h
index 0d4c047e..9c167d4b 100644
--- a/lib/events/eventcontent.h
+++ b/lib/events/eventcontent.h
@@ -189,7 +189,7 @@ namespace EventContent {
using InfoT::InfoT;
explicit UrlBasedContent(const QJsonObject& json)
: TypedBase(json)
- , InfoT(json["url"].toString(), json["info"].toObject(),
+ , InfoT(QUrl(json["url"].toString()), json["info"].toObject(),
json["filename"].toString())
{
// A small hack to facilitate links creation in QML.