Use QtQuickControls button, instead of PlasmaComponent's

Reviewed-by: notmart
This commit is contained in:
Sebastian Kügler 2017-02-11 15:37:17 +01:00
parent 6a3813acd6
commit 8e8c5d4513

View File

@ -19,9 +19,9 @@
import QtQuick 2.3
import QtQuick.Layouts 1.1
import QtQuick.Controls 1.0 as QtControls
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
Item {
@ -58,7 +58,7 @@ Item {
}
// A button to change the color to blue or green
PlasmaComponents.Button {
QtControls.Button {
// The button is aligned to the right
Layout.alignment: Qt.AlignRight