From edc24e3cd75eaf02a587f50b14dbd0288447179d Mon Sep 17 00:00:00 2001 From: Jason Erb Date: Wed, 30 Mar 2016 12:50:16 -0400 Subject: Fix "Unable to assign Object to QString" warning Change-Id: Ic219be7b90cbcde8fcc6a2e4d4a598a5d38b1d47 Task-number: QTBUG-47539 Reviewed-by: J-P Nurmi --- src/controls/Styles/Base/BasicTableViewStyle.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/controls') 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 } -- cgit v1.2.1