]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Use SmallMedium icon size in the Places panel as default
authorEugene Popov <popov895@ukr.net>
Tue, 25 May 2021 11:24:11 +0000 (14:24 +0300)
committerNate Graham <nate@kde.org>
Sat, 29 May 2021 22:16:18 +0000 (22:16 +0000)
This patch makes the Places panel to use SmallMedium icon size as default, making it easier to read. It also removes extra spacing from items with small icons (reverts e9a39700 and 56888a56).

BUG: 437345

src/panels/places/dolphin_placespanelsettings.kcfg

index b2ef8e5741a75a822a384309c213857f376d4a3d..db0ac9495b2fe17e5d17220d3ab18ebbc2290e66 100644 (file)
@@ -4,11 +4,12 @@
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
       http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
+    <include>kiconloader.h</include>
     <kcfgfile name="dolphinrc"/>
     <group name="PlacesPanel">
         <entry name="IconSize" type="Int">
             <label>Size of icons in the Places Panel (-1 means "use the style's small size")</label>
-            <default>-1</default>
+            <default code="true">KIconLoader::SizeSmallMedium</default>
         </entry>
     </group>
 </kcfg>