dialer: Fix some reference errors in main.qml

This commit is contained in:
Jonah Brüchert 2019-08-14 12:17:20 +02:00 committed by Bhushan Shah
parent 0828700d3e
commit 20b1f1e863

View file

@ -22,7 +22,9 @@ import QtQuick 2.3
import QtQuick.Controls 2.3 import QtQuick.Controls 2.3
import QtQuick.Layouts 1.1 import QtQuick.Layouts 1.1
import QtQuick.LocalStorage 2.0 import QtQuick.LocalStorage 2.0
import org.kde.plasma.extras 2.0 as PlasmaExtras import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kirigami 2.0 as Kirigami
ApplicationWindow { ApplicationWindow {
id: root id: root
@ -164,7 +166,7 @@ ApplicationWindow {
opacity: shouldShow ? 1 : 0 opacity: shouldShow ? 1 : 0
Behavior on opacity { Behavior on opacity {
OpacityAnimator { OpacityAnimator {
duration: units.shortDuration duration: Kirigami.Units.shortDuration
easing.type: Easing.InOutQuad easing.type: Easing.InOutQuad
} }
} }
@ -181,7 +183,7 @@ ApplicationWindow {
z: shouldShow ? 2 : 0 z: shouldShow ? 2 : 0
Behavior on opacity { Behavior on opacity {
OpacityAnimator { OpacityAnimator {
duration: units.shortDuration duration: Kirigami.Units.shortDuration
easing.type: Easing.InOutQuad easing.type: Easing.InOutQuad
} }
} }