Commit a5e45788 authored by Alex Nemeth's avatar Alex Nemeth Committed by Nate Graham
Browse files

Add lock icon to desktop context menu

Summary:
Having only one icon in the whole menu seemed a waste of space.
Adding a lock icon to the lock function greatly improves the scene.

Test Plan:
Before:
{F6277876}

After:
{F6277875}

Reviewers: ngraham, #vdg

Reviewed By: ngraham, #vdg

Subscribers: abetts, safaalfulaij, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D15683
parent 8246aff1
......@@ -97,7 +97,7 @@ ViewPropertiesMenu::ViewPropertiesMenu(QObject *parent) : QObject(parent)
m_previews = m_menu->addAction(QIcon::fromTheme(QStringLiteral("view-preview")), i18n("Show Previews"), this, &ViewPropertiesMenu::previewsChanged);
m_previews->setCheckable(true);
m_locked = m_menu->addAction(i18n("Locked"), this, SIGNAL(lockedChanged()));
m_locked = m_menu->addAction(QIcon::fromTheme(QStringLiteral("lock")), i18n("Locked"), this, SIGNAL(lockedChanged()));
m_locked->setCheckable(true);
}
......
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