mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +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()
|
void PlacesItem::onTrashDirListerCompleted()
|
||||||
{
|
{
|
||||||
Q_ASSERT(url().protocol() == QLatin1String("trash"));
|
Q_ASSERT(url().scheme() == QLatin1String("trash"));
|
||||||
|
|
||||||
const bool isTrashEmpty = m_trashDirLister->items().isEmpty();
|
const bool isTrashEmpty = m_trashDirLister->items().isEmpty();
|
||||||
setIcon(isTrashEmpty ? "user-trash" : "user-trash-full");
|
setIcon(isTrashEmpty ? "user-trash" : "user-trash-full");
|
||||||
|
|
Loading…
Reference in a new issue