summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Erb <erb@suitabletech.com>2016-03-30 12:50:16 -0400
committerJason Erb (Suitable Technologies) <erb@suitabletech.com>2017-03-11 14:50:37 +0000
commitedc24e3cd75eaf02a587f50b14dbd0288447179d (patch)
tree1218bb57c3ce8c174094d6e6c68edc84dd5dadd8 /src
parentfccae8499a4767cd0a012fa77988806a0c0f0f0e (diff)
downloadqtquickcontrols-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')
-rw-r--r--src/controls/Styles/Base/BasicTableViewStyle.qml2
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
}