fix(CommunityPermissions): Warning regarding color assignment fixed
This commit is contained in:
parent
d025f17e2a
commit
f6ac937dfd
|
@ -66,7 +66,7 @@ SplitView {
|
|||
readonly property QtObject activeSection: QtObject {
|
||||
readonly property string name: "Socks"
|
||||
readonly property string image: ModelsData.icons.socks
|
||||
readonly property color color: "red"
|
||||
readonly property string color: "red"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,6 +20,7 @@ SplitView {
|
|||
SplitView.fillWidth: true
|
||||
SplitView.fillHeight: true
|
||||
color: Theme.palette.statusAppLayout.rightPanelBackgroundColor
|
||||
|
||||
CommunityPermissionsSettingsPanel {
|
||||
id: communityPermissionsSettingsPanel
|
||||
|
||||
|
@ -59,7 +60,7 @@ SplitView {
|
|||
readonly property QtObject activeSection: QtObject {
|
||||
readonly property string name: "Socks"
|
||||
readonly property string image: ModelsData.icons.socks
|
||||
readonly property color color: "red"
|
||||
readonly property string color: "red"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -74,7 +75,6 @@ SplitView {
|
|||
|
||||
logsView.logText: logs.logText
|
||||
|
||||
|
||||
ColumnLayout {
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
|
|
|
@ -50,7 +50,7 @@ SplitView {
|
|||
readonly property QtObject activeSection: QtObject {
|
||||
readonly property string name: "Socks"
|
||||
readonly property string image: ModelsData.icons.socks
|
||||
readonly property color color: "red"
|
||||
readonly property string color: "red"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -428,17 +428,13 @@ StatusScrollView {
|
|||
ListModel {
|
||||
id: inModelCommunity
|
||||
|
||||
readonly property string colorWorkaround: inDropdown.communityData.color
|
||||
|
||||
Component.onCompleted: {
|
||||
append({
|
||||
imageSource: inDropdown.communityData.image,
|
||||
text: inDropdown.communityData.name,
|
||||
operator: OperatorsUtils.Operators.None,
|
||||
color: ""
|
||||
color: inDropdown.communityData.color
|
||||
})
|
||||
|
||||
setProperty(0, "color", colorWorkaround)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue