Commit fcd8b650 authored by David Redondo's avatar David Redondo 🏎
Browse files

[Cuttlefish] --warnings

Summary: GIT_SILENT

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27128
parent 2b958bfe
......@@ -24,6 +24,9 @@ import QtQuick.Controls 2.5 as QQC2
import QtQuick.Layouts 1.0
import org.kde.kirigami 2.8 as Kirigami
// for smallestFont
import org.kde.plasma.core 2.0 as PlasmaCore
MouseArea {
id: delegateRoot
......@@ -46,7 +49,7 @@ MouseArea {
color: Kirigami.Theme.highlightColor
opacity: iconGrid.currentIndex == index ? 0.5 : 0.0
visible: opacity != 0.0
Behavior on opacity { NumberAnimation { duration: units.shortDuration } }
Behavior on opacity { NumberAnimation { duration: Kirigami.Units.shortDuration } }
anchors {
fill: parent
}
......@@ -85,7 +88,7 @@ MouseArea {
Kirigami.Theme.positiveTextColor: cuttlefish.positivetextcolor
Kirigami.Theme.neutralTextColor: cuttlefish.neutraltextcolor
Kirigami.Theme.negativeTextColor: cuttlefish.negativetextcolor
font.pointSize: iconSize > 96 ? theme.defaultFont.pointSize : theme.smallestFont.pointSize
font.pointSize: iconSize > 96 ? Kirigami.Theme.defaultFont.pointSize : theme.smallestFont.pointSize
text: iconName
wrapMode: Text.Wrap
maximumLineCount: 3
......@@ -96,7 +99,7 @@ MouseArea {
right: parent.right
top: delegateIcon.bottom
topMargin: 0
margins: Math.round(-units.gridUnit / 4)
margins: Math.round(-Kirigami.Units.gridUnit / 4)
}
}
......
Markdown is supported
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