mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-25 15:58:16 +00:00
fix(ComboBox): import named QtQuick.Controls, avoid QQmlComponent: Component is not Ready with Qt 5.11.1
This commit is contained in:
parent
70f47b01d3
commit
7f62ae905a
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Controls 2.2 as Controls
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
import Common 1.0
|
||||
|
|
@ -10,7 +10,7 @@ import 'ComboBox.js' as Logic
|
|||
|
||||
// =============================================================================
|
||||
|
||||
ComboBox {
|
||||
Controls.ComboBox {
|
||||
id: comboBox
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
@ -82,7 +82,7 @@ ComboBox {
|
|||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
delegate: ItemDelegate {
|
||||
delegate: Controls.ItemDelegate {
|
||||
id: item
|
||||
|
||||
readonly property var flattenedModel: comboBox.textRole.length &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue