From 4fec417a93163cf114dfd0dba882d78a13c07eec Mon Sep 17 00:00:00 2001 From: Krzysztof Sobiecki Date: Tue, 16 Dec 2014 13:14:56 +0100 Subject: [PATCH] Produce a proper url for date parse error --- src/podcasts/podcastparser.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/podcasts/podcastparser.cpp b/src/podcasts/podcastparser.cpp index 4307095c6..0476d5e9b 100644 --- a/src/podcasts/podcastparser.cpp +++ b/src/podcasts/podcastparser.cpp @@ -215,9 +215,8 @@ void PodcastParser::ParseItem(QXmlStreamReader* reader, Podcast* ret) const { if (!episode.publication_date().isValid()) { qLog(Error) << "Unable to parse date:" << date << "Please submit it to " - << QUrl::toPercentEncoding(QString("https://github.com/clementine-player/Clementine/" - "issues/new?title=[podcast]" - " Unable to parse date: %1").arg(date)); + << "https://github.com/clementine-player/Clementine/issues/new?title=" + + QUrl::toPercentEncoding(QString("[podcast] Unable to parse date: %1").arg(date)); } } else if (name == "duration" && lower_namespace == kItunesNamespace) { // http://www.apple.com/itunes/podcasts/specs.html