Commit 6bc448a8 authored by Albert Astals Cid's avatar Albert Astals Cid Committed by Albert Astals Cid
Browse files

Add a hidden config option for showing icons on the root level of the menu

Test Plan:
 * Menu looks the same with new code
 * Menu has icons if changing default value on the config file

Reviewers: hein

Reviewed By: hein

Subscribers: plasma-devel, #plasma

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D12063
parent dc665ed6
......@@ -78,6 +78,10 @@
<label>Whether to align search results to the bottom of the menu representation (e.g. panel popup) instead of the top.</label>
<default>true</default>
</entry>
<entry name="showIconsRootLevel" type="Bool">
<label>Whether to show icons on the root level of the menu.</label>
<default>false</default>
</entry>
</group>
</kcfg>
......@@ -180,7 +180,7 @@ FocusScope {
visible: (searchField.text == "")
iconsEnabled: false
iconsEnabled: plasmoid.configuration.showIconsRootLevel
model: rootModel
......
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