diff --git a/clients/aurorae/src/qml/AuroraeButtonGroup.qml b/clients/aurorae/src/qml/AuroraeButtonGroup.qml index 78eaf25bfa..f29a2d8ed9 100644 --- a/clients/aurorae/src/qml/AuroraeButtonGroup.qml +++ b/clients/aurorae/src/qml/AuroraeButtonGroup.qml @@ -18,15 +18,7 @@ import QtQuick 1.1 import org.kde.plasma.core 0.1 as PlasmaCore Item { - id: group - property string buttons - states: [ - State { name: "normal" }, - State { name: "maximized" } - ] - - Component.onCompleted: { - group.state = decoration.maximized ? "maximized" : "normal"; + function createButtons() { var component = Qt.createComponent("AuroraeButton.qml"); for (var i=0; i