Use QtQuickControls button, instead of PlasmaComponent's
Reviewed-by: notmart
This commit is contained in:
parent
6a3813acd6
commit
8e8c5d4513
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user