test property binding to plasmoid.backgroundHints

This commit is contained in:
Marco Martin 2013-02-13 12:56:12 +01:00
parent 51147c9e1a
commit af49193eb3

View File

@ -36,6 +36,7 @@ Rectangle {
}
PlasmaComponents.Button {
text: "Background"
checked: plasmoid.backgroundHints == 1
onClicked: {
print("Background hints: " + plasmoid.backgroundHints)
if (plasmoid.backgroundHints == 0) {