pick the color from colorScope

Change-Id: Iff83658b3d91ffc9ed0f4a9a02db68ade67c82e6
This commit is contained in:
Marco Martin 2015-03-13 21:20:10 +01:00
parent 644b93830a
commit e754f7bf1a

View File

@ -146,6 +146,7 @@ Item {
PlasmaCore.IconItem {
id: imageLoader
visible: iconSource != null
colorGroup: PlasmaCore.ColorScope.colorGroup
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
implicitWidth: internal.portrait ? Math.max(units.iconSizes.small, root.height - (label.text ? label.height : 0)) : Math.max(units.iconSizes.small, root.height)