mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-20 18:58:25 +00:00
Workaround for a Qt crash : Resolve a random Qt crash from using indicator on switch. This way, switch is not loaded.
https://bugreports.qt.io/browse/QTBUG-82285
This commit is contained in:
parent
f68e4c1ff2
commit
4bdc1064fd
1 changed files with 19 additions and 12 deletions
|
|
@ -260,7 +260,11 @@ ScrollableListView {
|
||||||
|
|
||||||
ActionBar {
|
ActionBar {
|
||||||
iconSize: SipAddressesViewStyle.entry.iconSize
|
iconSize: SipAddressesViewStyle.entry.iconSize
|
||||||
|
Loader {
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
width:50
|
||||||
|
|
||||||
|
sourceComponent: Component{
|
||||||
Switch{
|
Switch{
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
width:50
|
width:50
|
||||||
|
|
@ -275,7 +279,10 @@ ScrollableListView {
|
||||||
//checked = !checked
|
//checked = !checked
|
||||||
switchHandler(!checked, index)
|
switchHandler(!checked, index)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
active: sipAddressesView.showSwitch // Resolve a random Qt crash from using indicator on switch. This way, switch is not loaded.
|
||||||
|
// https://bugreports.qt.io/browse/QTBUG-82285.
|
||||||
}
|
}
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue