Commit da636bf5 authored by David Faure's avatar David Faure
Browse files

Fix KIO warning when URL is empty

parent a4a7b5e8
......@@ -57,8 +57,8 @@ void PlacesItemListWidget::updateCapacityBar()
const QUrl url = data().value("url").toUrl();
if (m_freeSpaceInfo.job || !m_freeSpaceInfo.lastUpdated.hasExpired()) {
// Job running or cache is still valid.
if (url.isEmpty() || m_freeSpaceInfo.job || !m_freeSpaceInfo.lastUpdated.hasExpired()) {
// No url, job running or cache is still valid.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment