diff options
author | Jason Erb <erb@suitabletech.com> | 2016-03-30 12:50:16 -0400 |
---|---|---|
committer | Jason Erb (Suitable Technologies) <erb@suitabletech.com> | 2017-03-11 14:50:37 +0000 |
commit | edc24e3cd75eaf02a587f50b14dbd0288447179d (patch) | |
tree | 1218bb57c3ce8c174094d6e6c68edc84dd5dadd8 /src/controls | |
parent | fccae8499a4767cd0a012fa77988806a0c0f0f0e (diff) | |
download | qtquickcontrols-edc24e3cd75eaf02a587f50b14dbd0288447179d.tar.gz |
Fix "Unable to assign Object to QString" warning
Change-Id: Ic219be7b90cbcde8fcc6a2e4d4a598a5d38b1d47
Task-number: QTBUG-47539
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/controls')
-rw-r--r-- | src/controls/Styles/Base/BasicTableViewStyle.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Styles/Base/BasicTableViewStyle.qml b/src/controls/Styles/Base/BasicTableViewStyle.qml index 233d8efc..334ee665 100644 --- a/src/controls/Styles/Base/BasicTableViewStyle.qml +++ b/src/controls/Styles/Base/BasicTableViewStyle.qml @@ -146,7 +146,7 @@ ScrollViewStyle { anchors.verticalCenter: parent.verticalCenter anchors.verticalCenterOffset: 1 elide: styleData.elideMode - text: styleData.value !== undefined ? styleData.value : "" + text: styleData.value !== undefined ? styleData.value.toString() : "" color: styleData.textColor renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering } |