diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-05-08 12:25:15 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-05-08 12:25:15 -0500 |
| commit | aa5000f55620bebcfa48c5c7f3e49ef708a56bff (patch) | |
| tree | fb1c9026f8ac48344a4a15ccd6ceb6818e11a53b /components | |
| parent | 8b6978b2a5e1788a32360239f0257ce5327eb88c (diff) | |
| parent | 4354a76df94c26f2298380eb657712dc3e06b470 (diff) | |
| download | monzero-gui-aa5000f55620bebcfa48c5c7f3e49ef708a56bff.tar.gz monzero-gui-aa5000f55620bebcfa48c5c7f3e49ef708a56bff.tar.xz monzero-gui-aa5000f55620bebcfa48c5c7f3e49ef708a56bff.zip | |
Merge pull request #2876
4354a76 StandardDropdown: drop Qt 5.8 workaround (xiphon)
Diffstat (limited to 'components')
| -rw-r--r-- | components/StandardDropdown.qml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/components/StandardDropdown.qml b/components/StandardDropdown.qml index ad7da891..dfe37a5d 100644 --- a/components/StandardDropdown.qml +++ b/components/StandardDropdown.qml @@ -58,11 +58,6 @@ Item { onExpandedChanged: if(expanded) appWindow.currentItem = dropdown - // Workaroud for suspected memory leak in 5.8 causing malloc crash on app exit - function update() { - firstColText.text = columnid.currentIndex < repeater.model.rowCount() ? qsTr(repeater.model.get(columnid.currentIndex).column1) + translationManager.emptyString : "" - } - Item { id: head anchors.left: parent.left @@ -80,7 +75,6 @@ Item { } MoneroComponents.TextPlain { - id: firstColText anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left anchors.leftMargin: 12 @@ -91,6 +85,7 @@ Item { font.bold: dropdown.headerFontBold font.pixelSize: dropdown.fontHeaderSize color: dropdown.textColor + text: columnid.currentIndex < repeater.model.count ? qsTr(repeater.model.get(columnid.currentIndex).column1) + translationManager.emptyString : "" } Item { @@ -217,7 +212,6 @@ Item { popup.close() columnid.currentIndex = index changed(); - dropdown.update() } } } |
