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 QtObject activeSection: QtObject {
|
||||||
readonly property string name: "Socks"
|
readonly property string name: "Socks"
|
||||||
readonly property string image: ModelsData.icons.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.fillWidth: true
|
||||||
SplitView.fillHeight: true
|
SplitView.fillHeight: true
|
||||||
color: Theme.palette.statusAppLayout.rightPanelBackgroundColor
|
color: Theme.palette.statusAppLayout.rightPanelBackgroundColor
|
||||||
|
|
||||||
CommunityPermissionsSettingsPanel {
|
CommunityPermissionsSettingsPanel {
|
||||||
id: communityPermissionsSettingsPanel
|
id: communityPermissionsSettingsPanel
|
||||||
|
|
||||||
|
@ -59,7 +60,7 @@ SplitView {
|
||||||
readonly property QtObject activeSection: QtObject {
|
readonly property QtObject activeSection: QtObject {
|
||||||
readonly property string name: "Socks"
|
readonly property string name: "Socks"
|
||||||
readonly property string image: ModelsData.icons.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
|
logsView.logText: logs.logText
|
||||||
|
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
|
|
@ -50,7 +50,7 @@ SplitView {
|
||||||
readonly property QtObject activeSection: QtObject {
|
readonly property QtObject activeSection: QtObject {
|
||||||
readonly property string name: "Socks"
|
readonly property string name: "Socks"
|
||||||
readonly property string image: ModelsData.icons.socks
|
readonly property string image: ModelsData.icons.socks
|
||||||
readonly property color color: "red"
|
readonly property string color: "red"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -428,17 +428,13 @@ StatusScrollView {
|
||||||
ListModel {
|
ListModel {
|
||||||
id: inModelCommunity
|
id: inModelCommunity
|
||||||
|
|
||||||
readonly property string colorWorkaround: inDropdown.communityData.color
|
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
append({
|
append({
|
||||||
imageSource: inDropdown.communityData.image,
|
imageSource: inDropdown.communityData.image,
|
||||||
text: inDropdown.communityData.name,
|
text: inDropdown.communityData.name,
|
||||||
operator: OperatorsUtils.Operators.None,
|
operator: OperatorsUtils.Operators.None,
|
||||||
color: ""
|
color: inDropdown.communityData.color
|
||||||
})
|
})
|
||||||
|
|
||||||
setProperty(0, "color", colorWorkaround)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue