Skip to content

Commit

Permalink
Fix FTBFS
Browse files Browse the repository at this point in the history
We don't yet have the fmtlib formatter for QString.
  • Loading branch information
Saviq committed Jun 17, 2019
1 parent bac276a commit e53ee2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/network/url_downloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ QByteArray mp::URLDownloader::download(const QUrl& url)
{
mpl::log(
mpl::Level::info, category,
fmt::format("Cannot get last modified date for {}: {}. Using cached data.", url.toString(), e.what()));
fmt::format("Cannot get last modified date for {}: {}. Using cached data.", url.toString().toStdString(), e.what()));
return get_network_cache_data(network_cache, url);
}
}
Expand All @@ -194,7 +194,7 @@ QByteArray mp::URLDownloader::download(const QUrl& url)
{
// Force using the cached data if there is an error retrieving the data from the network
mpl::log(mpl::Level::warning, category,
fmt::format("Cannot download {}: {}. Using cached data instead.", url.toString(), e.what()));
fmt::format("Cannot download {}: {}. Using cached data instead.", url.toString().toStdString(), e.what()));
return get_network_cache_data(network_cache, url);
}
else
Expand Down

0 comments on commit e53ee2c

Please sign in to comment.