mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-21 17:30:15 +00:00
Fix Dolphin build (protocol -> scheme)
This commit is contained in:
parent
a8b39ff601
commit
c9641c96f9
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue