Fix warnings in color assignments

This commit is contained in:
Sebastian Kügler 2012-06-05 03:31:04 +02:00
parent 2084d29735
commit ba689faf16
4 changed files with 7 additions and 7 deletions

View File

@ -168,7 +168,7 @@ Item {
font.weight: theme.defaultFont.weight
font.wordSpacing: theme.defaultFont.wordSpacing
//color: theme.viewTextColor
color: Qt.color("black")
color: Qt.rgba(0,0,0,1)
selectByMouse: verticalScroll.interactive
onCursorPositionChanged: {
@ -245,4 +245,4 @@ Item {
//print("Hiding...");
}
}
}
}

View File

@ -131,7 +131,7 @@ Item {
visible: textInput.text == "" && !textField.activeFocus
// XXX: using textColor and low opacity for theming placeholderText
// color: theme.viewTextColor
color: Qt.color("black")
color: Qt.rgba(0,0,0,1)
opacity: 0.5
elide: Text.ElideRight
clip: true
@ -163,7 +163,7 @@ Item {
}
selectByMouse: true
passwordCharacter: "•"
color: Qt.color("black")
color: Qt.rgba(0,0,0,1)
//color: theme.textColor
enabled: textField.enabled
clip: true

View File

@ -298,7 +298,7 @@ Item {
font.underline: theme.defaultFont.underline
font.weight: theme.defaultFont.weight
font.wordSpacing: theme.defaultFont.wordSpacing
color: Qt.color("black")
color: Qt.rgba(0,0,0,1)
//color: theme.viewTextColor
selectByMouse: verticalScroll.interactive

View File

@ -273,7 +273,7 @@ FocusScope {
visible: textInput.text == "" && !textField.activeFocus
// XXX: using textColor and low opacity for theming placeholderText
//color: theme.viewTextColor
color: Qt.color("black")
color: Qt.rgba(0,0,0,1)
opacity: 0.5
elide: Text.ElideRight
clip: true
@ -301,7 +301,7 @@ FocusScope {
}
passwordCharacter: "•"
selectByMouse: true
color: Qt.color("black")
color: Qt.rgba(0,0,0,1)
// color: theme.textColor
enabled: textField.enabled
clip: true