Fix Dolphin build (protocol -> scheme)

This commit is contained in:
Emmanuel Pescosta 2014-10-21 22:31:50 +02:00
parent a8b39ff601
commit c9641c96f9

View file

@ -293,7 +293,7 @@ void PlacesItem::onAccessibilityChanged()
void PlacesItem::onTrashDirListerCompleted()
{
Q_ASSERT(url().protocol() == QLatin1String("trash"));
Q_ASSERT(url().scheme() == QLatin1String("trash"));
const bool isTrashEmpty = m_trashDirLister->items().isEmpty();
setIcon(isTrashEmpty ? "user-trash" : "user-trash-full");