Fix comments about graphics for plasma components enabled/disabled properties

Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
This commit is contained in:
Daker Fernandes Pinheiro 2011-07-18 18:49:45 -03:00
parent 4ff2523d13
commit 3ab58b3877
2 changed files with 6 additions and 2 deletions

View File

@ -60,7 +60,9 @@ Item {
width: 50
height: 20
opacity: enabled ? 1.0 : 0.5 // XXX: temporary solution
// TODO: needs to define if there will be specific graphics for
// disabled buttons
opacity: enabled ? 1.0 : 0.5
Keys.onSpacePressed: pressButton();
Keys.onReturnPressed: pressButton();

View File

@ -36,7 +36,9 @@ Item {
width: surface.width + label.paintedWidth
height: surface.height
opacity: dualButton.enabled ? 1.0 : 0.5 // XXX: temporary solution
// TODO: needs to define if there will be specific graphics for
// disabled buttons
opacity: dualButton.enabled ? 1.0 : 0.5
function entered() {
if (dualButton.enabled) {