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.weight: theme.defaultFont.weight
font.wordSpacing: theme.defaultFont.wordSpacing font.wordSpacing: theme.defaultFont.wordSpacing
//color: theme.viewTextColor //color: theme.viewTextColor
color: Qt.color("black") color: Qt.rgba(0,0,0,1)
selectByMouse: verticalScroll.interactive selectByMouse: verticalScroll.interactive
onCursorPositionChanged: { onCursorPositionChanged: {

View File

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

View File

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

View File

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